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

Direct download links (or CDN) #1679

Closed
JustinDrake opened this issue Feb 3, 2012 · 117 comments
Closed

Direct download links (or CDN) #1679

JustinDrake opened this issue Feb 3, 2012 · 117 comments
Labels

Comments

@JustinDrake
Copy link

How can I get the file bootstrap.css directly (without having to download the whole .zip file)? Is there a CDN of some sort?

@caniszczyk
Copy link
Contributor

Maybe something like CDNJS would help? http://www.cdnjs.com/

@cliffano
Copy link

cliffano commented Feb 4, 2012

+1 for a CDN
Would be nice to have bootstrap cached on the browser once for thousands of sites to benefit.

@ghost
Copy link

ghost commented Feb 4, 2012

You can link to http://twitter.github.com/bootstrap/assets/css/bootstrap.css, but it's uncompressed

@JakeWharton
Copy link

It's also not versioned nor guaranteed to not move.

@cassionandi
Copy link

+1 for a CDN

@nickmalcolm
Copy link

+1 for a CDN for both minified CSS and JS

@dbpolito
Copy link

dbpolito commented Feb 7, 2012

👍 for CDN

@frosas
Copy link

frosas commented Feb 9, 2012

Another +1 for a CDN

@owyongsk
Copy link

owyongsk commented Feb 9, 2012

Needs, CDN, badly, please. +1

@frosas
Copy link

frosas commented Feb 9, 2012

@mindctrl what about the convenience of not having to download, unzip, ... it?

I really like being able to bootstrap projects as fast as this:

<!doctype html>
<link rel="stylesheet" href="http://twitter.github.com/bootstrap/1.4.0/bootstrap.min.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
<h1>My new awesome project</h1>

@iron9light
Copy link

+1

@martijnmegens
Copy link

+1 for a CDN

1 similar comment
@laczoka
Copy link
Contributor

laczoka commented Feb 15, 2012

+1 for a CDN

@g00fy-
Copy link

g00fy- commented Feb 15, 2012

+1

2 similar comments
@lexden
Copy link

lexden commented Feb 16, 2012

+1

@jmcclell
Copy link

👍

@caniszczyk
Copy link
Contributor

Looks like someone added it on CDNJS:

http://www.cdnjs.com/#/search/bootstrap, not sure who

@jhurliman
Copy link

@caniszczyk Thanks for the link. Now we just need https://github.com/cdnjs/cdncss to get off the ground.

@mppfiles
Copy link

👍 4 CDN ;)

@philipp-spiess
Copy link

+1

6 similar comments
@geowa4
Copy link

geowa4 commented Feb 24, 2012

+1

@bcarl
Copy link

bcarl commented Feb 25, 2012

+1

@rjnienaber
Copy link

+1

@akshatpradhan
Copy link

+1

@wub
Copy link

wub commented Mar 1, 2012

+1

@pbuda
Copy link

pbuda commented Mar 1, 2012

+1

@jaconza
Copy link

jaconza commented Mar 1, 2012

+1 for hosting Javascript modules and Css on CDN

@bighappyface
Copy link

Aye. +1

@janmarek
Copy link

janmarek commented Mar 7, 2012

+1

1 similar comment
@nlaplante
Copy link

+1

@lgs
Copy link

lgs commented May 30, 2012

+1

@jhfrench
Copy link

jhfrench commented Jun 1, 2012

+1 with the javascript combined and minified as well.
See http://encosia.com/3-reasons-why-you-should-let-google-host-jquery-for-you/ for a compelling case to adopt CDN whenever possible.

@jhfrench
Copy link

jhfrench commented Jun 1, 2012

PS--"problem" with cdnjs is that it doesn't seem to support SSL. So if your site is SSL, including a http asset introduces problems.

@xeoncross
Copy link

A CDN isn't useful if your site is over SSL as there is no caching benefit from other domains. With SSL the only thing it saves is your servers bandwidth.

@jhfrench
Copy link

jhfrench commented Jun 1, 2012

@xeoncross: But that's not the only benefit of a CDN resource called via https. One would also benefit from (to paraphrase) the advantages of geographically-distributed CDN servers vs your own "arbitrarily-located" server.
Plus, if I understand this correctly, increased parallelism comes into play.

@flashtopia
Copy link

CDNJS is also extremely slow at random times. Their service is great for a Poor man's CDN, but wont give you any real performance, all it might do is save you a few cents off your bandwith bill. Now that NetDNA / MaxCDN has decided to host bootstrap on http://bootstrapcdn.com/ it would be very cool if they also had other popular frameworks. Compared to other CDN providers they have a ton of edge locations, and are lightning fast. In our tests from both NY and Northern California, content from their edge locations loads faster than both google app engine and amazon.
Cant wait!

@flashtopia
Copy link

@xeoncross, if a cdn does not support https then you get mixed content warnings on your ssl pages. there are added benefits because a proper cdn uses gzip, cookieless domains. And although the content from Https will not cache in some browsers, its still a huge performance results from closer edge locations, and using a different domain name for parallel downloads. We use a combo of amazon cloud and godaddy cloud servers. The cdn provider we use, is cheaper on outgoing bandwidth than either of our hosting partners. For us its a no brainer to use CDN (https) for all our static requests (images, css, pdf, js) All our servers create and push are html.

@jdorfman
Copy link
Contributor

Ok here you go kids: http://bootstrapcdn.com/

Yes it has SSL Support. Please help me make the site better: https://github.com/jdorfman/bootstrap-cdn

Thanks.

@jhfrench
Copy link

Good man. Thank you.

@barryvdh
Copy link
Contributor

Just beware that when @jdorfman decides to pull the plug (or has downtime), your sites will become unusable. (Not saying that he would, but maybe something to keep in mind before you build all your sites with this cdn)

@jdorfman
Copy link
Contributor

@barryvdh you make a valid point. At the very bottom of the site I state: "This free service comes with no warranty. NetDNA LLC. shall not be held responsible for any issues related to availability or performance." I should make it bigger.

With that said I was hoping our competitors (EdgeCast, Amazon, Fastly, etc.) would fork their own version and offer this as a free service.

If you are using Bootstrap CDN in production and are experiencing performance issues email me direct: jdorfman at netdna dot com. I will make sure it gets resolved in a timely fashion.

@flashtopia
Copy link

I have been using NetDNA (max CDN) for two years. Never had any issues in regards to downtime. If you are super worried you can always use a fallback url that hosts the files on your own servers, similar to what is done with Jquery in html boilerplate.

With that said, the same could be true of goolgle and microsoft hosting free items such as jquery. They both do not come with a 100% guarantee that they will be up forever.

@KayLeung
Copy link
Contributor

Thanks NetDNA. @jdorfman, can you add Asia edge to it?

@jdorfman
Copy link
Contributor

@KayLeung you are welcome. I will see what I can do. Only issue currently is SSL will not work in APAC.

@flashtopia
Copy link

@bootstrap. I think you can close this issue. What would be really neat is if the bootstrap examples used links from the CDN, maybe with local fallbacks. The more people use this service, the quicker it will be. It would be great to see if twitter has some feedback on @jdorfman / NetDNA's project

@jdorfman
Copy link
Contributor

For those who are hesitant using bootstrapcdn we now have public status page that monitors uptime and performance: http://status.bootstrapcdn.com/

@fat
Copy link
Member

fat commented Jul 22, 2012

Tagging this issue as popular, please stop commenting on this issue with +1. thanks!

@ghost
Copy link

ghost commented Jul 29, 2012

Can't it be put on Google's CDN? Bootstrap is a really popular tool.

@fat
Copy link
Member

fat commented Jul 30, 2012

Closing as there are a number of cdn's that offer this now. If you'd like it on google, please raise it with the google bros - :)

@fat fat closed this as completed Jul 30, 2012
@paolodina
Copy link

I filed a ticket on google-ajax-apis bug tracker asking for Google CDN support for Bootstrap.

To add your +1, please star the issue: http://code.google.com/p/google-ajax-apis/issues/detail?id=637

Thanks.

@dorba
Copy link

dorba commented Oct 31, 2012

There's an error in the minified JS link above. The extension should be .js, not .css; i.e:
http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.1.1/bootstrap.min.js

@chrvadala
Copy link

+1

@flashtopia
Copy link

CNDJS blows.
why dont you use the NetDna twitterbootstrap?

@ytjohn
Copy link

ytjohn commented Nov 14, 2012

@barrydorman Good catch, fixed.

@ase69s
Copy link

ase69s commented May 29, 2013

+1

@luceos
Copy link

luceos commented Jul 4, 2013

A solution also is: http://bootcdn.com

@fedmich
Copy link

fedmich commented Jan 24, 2014

+1 too. I wonder which one to use now though and which is faster http://cdnjs.com or http://bootcdn.com ?

@twbs twbs locked and limited conversation to collaborators Jun 9, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests