News for hackers. Stuff that matters.
Re:Google's CDN is down (404) by ryankirkman on Wednesday June 29, 2011 @11:26PM (#2712388)
cdnjs.com (running on CloudFlare infrastructure) is an alternative to Google's CDN. We should have every major script, but if we're missing anything feel free to fork at https://github.com/cdnjs/cdnjs and we'll get it up asap.

Disclaimer: I'm one of the founders of cdnjs.

Re:Google's CDN is down (404) by thomasdavis on Wednesday June 29, 2011 @11:29PM (#2712393)
As posted by somebody else it's also worth using a local fallback. html5boilerplate has been doing it for jQuery for some time now.

This can be done with most libraries by identifying the libraries global variable. e.g. for Modernizr

<script>!window.Modernizr && document.write(unescape('%3Cscript src="/public/scripts/libs/modernizr.js"%3E%3C/script%3E'))</script>