Re:The average top 1,000 web page has grown 150% in three years
by jol on Thursday November 28, 2013 @11:11AM
(#6815114)
you are right about first, but
>- at least as reliable as your infrastructure
this doesn't mean that Google CDN is down the same times that your server is, thus it adds downtime (or time when something is broken in the site), i.e. if your server doesn't work, nothing works, if your server works but CDN doesn't, again something is broken and if this time doesn't overlap, it is just additional risk, even if tiny one.
Also, what happens when Google decides to charge for use of the CDN?
Re:The average top 1,000 web page has grown 150% in three years
by estel on Thursday November 28, 2013 @11:46AM
(#6815257)
Ignoring the last point, this is probably why the HTML5BP loads from the CDN but fallsback to a local version if the CDN can't be reached.
Re:The average top 1,000 web page has grown 150% in three years
by nucleardog on Thursday November 28, 2013 @09:56PM
(#6817657)
It's fairly trivial to load jQuery/other libraries from the Google CDN and fall back to a local copy if it fails as long as you're not using async/deferred.
We've got it baked into our boilerplate.
If Google decides to charge for use of their CDN, then I wish them luck. They don't have any billing information and short of serving a bastardized jQuery (simply not serving it will trigger the fallback) our projects will continue as they've always been.
- faster for people in different geographic areas
- at least as reliable as your infrastructure
- already cached (this would be nullified by your proposal)
I ask because normally I wouldn't think twice about using the Google CDN libraries.