AspNetCore.Docs
AspNetCore.Docs copied to clipboard
Microsoft Ajax Content Delivery Network (CDN)
I've been working on a new Outlook/OWA Add-In and faced some problems accessing the CDN for one of the Office.js dependencies: https://ajax.aspnetcdn.com/ajax/3.5/MicrosoftAjax.js. For some reason it never loads on any Windows device connected to the same local network, but it works on Mac and Android with 10-15 seconds loading time. More information can be found here: https://github.com/OfficeDev/office-js/issues/5733
Some of the key moments:
- none of the 3 connected Windows devices were able to load this script from CDN
- once or twice I've been redirected here https://cdnsrc.asp.net/ajax/3.5/MicrosoftAjax.js and it still works
- two days ago it was working for a couple of hours without VPN (caches were cleared all the time while testing)
- using a VPN solves the issue on Windows, but it is not acceptable for the production app
- on Mac and Android without VPN it takes 10-15 seconds to load the script (with VPN - takes no time)
- all of the devices are connected to the same network and are using DHCP with the Google Public DNS setup
- I faced this problem about a week ago up until now, but some users are facing it for about two months
- there was an issue reported on OfficeDev GitHub about two months ago about CDN not being stable
jQuery releases after 1.13.2 are missing (1.13.3, 1.14.0, 1.14.1).