See the Yahooâ€™s YUI dependency configuration tool for an example on what kind of libraries Yahoo and Google serve.
Microsoft Ajax CDN
The Microsoft Ajax CDN is a distribution network like its Google and Yahoo equivalents. Technically, the Microsoft network is spread across a group of servers hosted by Akamai. Since the CDNs are platform-independent, you could use the Microsoft CDN in PHP applications or leverage the Google-hosted Ajax Libraries APIs in your ASP.NET applications.
However, pairing Microsoftâ€™s offering with ASP.NET does have some special benefits:
- Microsoft ASP.NET 4.0 makes it particularly easy to pull ASP.NET AJAX from the CDN. Namely, you can just add EnableCDN=â€ťtrueâ€ť onto the ScriptManager element and stop worrying about versions being deployed with your application.
In addition to the ASP.NET AJAX libraries, the Microsoft Ajax CDN also hosts jQuery. However, its support for different libraries is still considerably narrower than the Google or Yahoo equivalents.
Also, there are some valid privacy concerns. The Microsoft Ajax CDN is hosted on the microsoft.com domain, meaning that cookies for the AJAX calls could potentially be used for user tracking by Microsoft. To a limited extent, Google would have the same opportunity, so it is, after all, yet another trust issue. Use of https is also a problem at this stage, but may be alleviated at a later point. See a blog post at idunno.org for an overview on these topics.