Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using CDN for referenced assets #32

Open
scurry opened this issue Jul 21, 2017 · 2 comments
Open

Consider using CDN for referenced assets #32

scurry opened this issue Jul 21, 2017 · 2 comments

Comments

@scurry
Copy link

scurry commented Jul 21, 2017

Would you consider an alternative to the initial project template to use src references to a CDN host instead of the localized versions?

@Delapouite
Copy link
Member

hi

Which assets do your refer to? The ones located in the init dir https://github.com/byteclubfr/prez/tree/master/data/init/ ?

The issue about CDNs, is that reveal presentations made by prez are very often used in conditions where not good connection to the internet is available. Like during a conferences or in schools (yeah that seems quite strange in 2017, but it's still the case. Even in such great and modern cities like Paris)

@scurry
Copy link
Author

scurry commented Jul 24, 2017

Oops, I was not clear. :)

I was thinking at build time (the final index.html) having CDN assets instead of using the local ones. So instead of having all the reveal assets locally, they would be cached by browsers.

I agree with your other point that you still want to have the presentation usable for offline access. So perhaps this feature would be enabled by an option and defaulted to local assets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants