Earlier quoted context omitted.
How often does your average user browse via an anonymous proxy? I doubt most would even know what the hell you are talking about. I can understand for your more clued up or power user, but you give the average user too much credit.
Every time they use a public wifi hotspot. Any time you use a network you don't control and where you have no reason to trust the admin, you may as well be using a proxy. The requirement to trust the admin isn't about the admin MITMing you, but rather trusting their competency in preventing other users MITMing you. Of course the admin could be bad as well.
Microsoft's Ajax CDN tumbles worldwide
41–46 of 46 posts
Re: Microsoft's Ajax CDN tumbles worldwide
#42Earlier quoted context omitted.
CDN, with local fallback: window.jQuery || document.write(unescape('%3Cscript src="/scripts/jquery-1.x.x.min.js"%3E%3C/script%3E'))
If you do overall page loading times, I wonder what sort of averages you will see comparing this to hosting it locally for all requests. When hosted locally it would result in 1 less DNS lookup, as well it could reuse an open HTTP connection to fetch the resource.
Re: Microsoft's Ajax CDN tumbles worldwide
#43Earlier quoted context omitted.
Yeah, but if you gracefully handle those failures with local fallbacks, then the CDN's downtime is a moot point.
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…
Re: Microsoft's Ajax CDN tumbles worldwide
#44"yepnope.js has the capability to do resource fallbacks and still download dependent scripts in parallel with the first."
Re: Microsoft's Ajax CDN tumbles worldwide
#45Earlier quoted context omitted.
Every time they use a public wifi hotspot. Any time you use a network you don't control and where you have no reason to trust the admin, you may as well be using a proxy. The requirement to trust the admin isn't about the admin MITMing you, but rather trusting their competency in preventing other users MITMing you. Of course the admin could be bad as well.
Fair point. But if they have gone to this extent, they could just as easily inject some code into the HTML no? http://news.ycombinator.com/item?id=3804608
Re: Microsoft's Ajax CDN tumbles worldwide
#46More generally, I have never understood why people use these third party CDNs for important sites. Don't get me wrong, I understand the bullet points that the Microsoft's and Google's trot out: User more likely to have it cached, more simultaneously open connections since it's a different domain, perhaps less latency etc. But the simple fact of the matter is if the CDN goes down, your site essentially goes down. Ever…
Perhaps its not a core-competency of the company? When you're a small company you only get a few employees to work with maybe none, so you find ways to get the stuff you don't know how to do, done. Whether its contract work for design, or outsourcing operations to the cloud.