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

Improve load times by loading JQuery from CDN #1550

Closed
henrify opened this issue Oct 5, 2015 · 3 comments
Closed

Improve load times by loading JQuery from CDN #1550

henrify opened this issue Oct 5, 2015 · 3 comments

Comments

@henrify
Copy link

henrify commented Oct 5, 2015

While I can understand that bootstrap with its custom Sass builds and the need to reference (include/extend) it from Sage's styles can be tricky to make external, I cannot understand why you are not loading what seems to be stock standard JQuery from CDN?

If this is indeed stock standard JQuery, please add build option and/or documentation how to load it from CDN. 95% of end users have CDN JQuery cached so this will save 100kb worth of page load time.

@austinpray
Copy link
Contributor

We used to have this but removed it. It's now a roots/soil feature. #1301 and #1422

@kalenjohnson
Copy link
Contributor

Also, it is part of Sage by default, if you also have Soil installed:

https://github.com/roots/sage/blob/master/lib/config.php#L14

@henrify
Copy link
Author

henrify commented Oct 6, 2015

That's perfect, thanks for your fast replies.

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

3 participants