News for hackers. Stuff that matters.
Re:Microsoft's Ajax CDN tumbles worldwide by k3n on Thursday January 03, 2013 @11:14AM (#5002967)
Yeah, but if you gracefully handle those failures with local fallbacks, then the CDN's downtime is a moot point.
Re:Microsoft's Ajax CDN tumbles worldwide by dos1 on Thursday January 03, 2013 @11:23AM (#5003035)
See the rest of the comments in this thread about why the fallback can be painfully slow if the CDN is down. I saw your previous comment about making an ajax request with an adjusted timeout, but this is not ideal for making cross domain script requests for a number of reasons. For one, CORS needs to be enabled. Another is that you now have to create a script tag and take the responseText and jam it in there. This is going to be slower than just creating a script tag and setting the src attr.

If you are going to have a fallback, and that fallback may take seconds to activate if the CDN is down, why not just make the fallback your primary?

Re:Microsoft's Ajax CDN tumbles worldwide by jQueryIsAwesome on Thursday January 03, 2013 @11:55AM (#5003226)
You can easily specify how much time a CDN will have to respond as you can see in my example in another comment: http://news.ycombinator.com/item?id=5003129