views:

239

answers:

1

If I'm right, each request for http://ajax.microsoft.com/ajax/jQuery/jquery-1.4.2.js uses something like 3kb of microsoft.com cookies. Do I not understand something and it doesn't matter or is Microsoft wrong?

+4  A: 

It's because there's a whole bunch of cookies set for the microsoft.com domain, which will naturally also be sent to requests to its subdomains as well. Microsoft is doing it wrong.

Google, on the other hand, uses a separate domain (googleapis.com) for its CDN, for which at least I have exactly zero cookies. I suggest you use Google's CDN instead.

Matti Virkkunen
I'm not sure why anybody would use Microsoft's CDN over Google's
webdestroya
I use if for the jQuery Validation plugin. As far as I know, Google do not host a copy.
alex
http://ajax.microsoft.com/ajax/jquery.validate/1.5.5/jquery.validate.min.js (if anyone wants the link)
alex
The darn ajax validation link seems down right now, and its breaking my page. thanks microsoft.
DMin