Re:Microsoft's Ajax CDN tumbles worldwide
by k3n on Thursday January 03, 2013 @10:47AM
(#5002803)
You could probably wire something up in JS to handle it with reduced timeouts, e.g. an AJAX call that automatically fails after 50-100ms and proceeds to load the local version.
[ Parent
| on HN ]
Re:Microsoft's Ajax CDN tumbles worldwide
by jQueryIsAwesome on Thursday January 03, 2013 @11:21AM
(#5003017)
A simpler solution would be to reload the page passing a parameter that you want to use other CDN; something like this: https://gist.github.com/4444636
You've now got people wondering why their page just reloaded after half a second and a slug of unnecessary javascript in your page all for the sake of simplicity.
A simple solution would be to just link to a self-hosted version of the lib.
Re:Microsoft's Ajax CDN tumbles worldwide
by jQueryIsAwesome on Thursday January 03, 2013 @11:40AM
(#5003129)
False; because (if the script is inside the head of the page) the loading of Javascript is synchronous so the user will not notice any refresh at all.