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

CDN #82

Open
thugsb opened this issue Oct 14, 2013 · 5 comments
Open

CDN #82

thugsb opened this issue Oct 14, 2013 · 5 comments

Comments

@thugsb
Copy link

thugsb commented Oct 14, 2013

Consider the option to link to jQuery+Bootstrap CDN, instead of including the files.
http://www.bootstrapcdn.com/
https://developers.google.com/speed/libraries/devguide#jquery

You could also include the fallback, i.e. http://css-tricks.com/snippets/jquery/fallback-for-cdn-hosted-jquery/

@Renkas
Copy link

Renkas commented Jan 16, 2014

How does this differ from what is already in initializr?

@thugsb
Copy link
Author

thugsb commented Jan 16, 2014

At least when I opened this issue 3 months ago, it was the case that initializr would include the bootstrap files in your project, e.g. <link href="bootstrap.min.css"/>, whereas it would be nice to instead include links to CDN-hosted libraries, e.g. <link href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">.

Obv that doesn't allow for customization with LESS, but CDN-hosted files are sometimes more desirable.

@Renkas
Copy link

Renkas commented Jan 17, 2014

Well my comment was on the jQuery part as it already has this kind of fallback - and it was definitely there 3 months ago.

Bootstrap is different thing - I personally would not use CDN on that.

@thugsb
Copy link
Author

thugsb commented Jan 17, 2014

But many people do...hence why the CDN exists and is so popular. Up to you, but imho it'd be nice to have the option. If you don't want to, close the issue. :)

@fulldecent
Copy link

+1 on CDN for everything, this is the future for templated development

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