Javascript CDN Loading Issues - Changed to Google CDN
Yesterday a couple of people on the West Coast of the US reported some issues loading the home page, and in particular it seemed like parts of the site was blocked from loading because of some networking issues.
In order to hopefully fix this issue, I have changed a couple of our Javascript libraries to load from the Google CDN, in particular:
The two YUI libs were served from Yahoo's CDN, but this seems to cause problems compared to serving the same from Google.
If you see any more blocking issues, please let us know.
I think the problem is solved, because I tested both the Yahoo libs and the Google libs and the Google libs seem to load faster without any issues; however, we experienced an issue on the West Coast of the US, so perhaps Yahoo had a problem with their CDN.
Actually, I would like to move completely off these old Yahoo YUI JS libs, but that would mean I would have to rewrite a lot of legacy JS code to work with JQuery instead of YUI; and it's not a priority.
If anyone wants to take this huge project on, please let me know!
Anyway, I'm not convinced this was the problem for our West Coast users yesterday, because normally these Javascript libs are cached in memory, so even if the network is having problem, the libs should load from memory (or disk cache).