Excellent article on why we should let Google serve up JQuery!

Permalink
Athttp://encosia.com/3-reasons-why-you-should-let-google-host-jquery-...

Now I am off to see how I can implement this in Concrete5 (probably inside the header_required.php file.

Nice.

Carlos

 
jordanlev replied on at Permalink Reply
jordanlev
And for several reasons why *not* to let google serve your jquery for you, check out these hacker news threads:
http://news.ycombinator.com/item?id=1713685...
http://news.ycombinator.com/item?id=394203...

Note that many of the reasons cited in the above links (google CDN is unavailable, user's corporate firewall blocks google CDN ip's, etc.) can be mitigated by using a fallback technique to load jquery locally if the CDN request fails:
http://stackoverflow.com/questions/1014203...
http://weblogs.asp.net/jgalloway/archive/2010/01/21/using-cdn-hoste...
carlos123 replied on at Permalink Reply
Outstanding analysis at the links you shared Jordan!

Thanks for contributing to this discussion.

The idea of having a fall back in case Google CDN is down, blocked, or otherwise didn't even dawn on me as a good thing to do.

I mean Google down? You've got to be kidding but...well...it's apparently happened more often than would be assumed otherwise.

I will definitely incorporate a fall back now.

Great reading.

Carlos
carlos123 replied on at Permalink Reply
What Dave Ward says about these matters at some of the links above is quite...well...incredibly thorough. Some of the best, thought out, web development practicality I have ever read.

True nuggets of web wisdom.

Carlos