Jquery.com was down
jquery.com
jquery.com
It looks like code.jquery.com survived whatever the present situation is (otherwise a big chunk of the 'net would be finding out right about now), but it's been made clear for a while [2] that use of the code.jquery.com/* URLs isn't encouraged.
[1]: https://developers.google.com/speed/libraries/devguide#jquer...
[2]: http://blog.jquery.com/2009/08/20/codejquerycom-redirected-t...
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="/js/libs/jquery.1.7.2.min.js"><\/script>')</script>So even if Google's servers go down, the browser will still use its locally available file (even without a possible delay, when waiting for a timeout).
$ curl -I ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
HTTP/1.1 200 OK
[...]
Expires: Sat, 07 Dec 2013 05:29:17 GMT
[...]Ok, i get that you might have a cache hit for a visitor that has visited a site with that exact same resource included before, but other than that, what am i missing?
Compared to events such as this, i'd rather host it myself and when i'm down, nobody cares because i'm down anyways..