문제

I have been running YSlow against my site and the Microsoft Ajax files are quite hefty:

http://ajax.microsoft.com/ajax/3.5/MicrosoftAjax.js = 99.3k

and

http://ajax.microsoft.com/ajax/mvc/MicrosoftMvcAjax.js = 136.7k

Is there likely to be a minified version of these files on the Microsoft CDN soon?

도움이 되었습니까?

해결책

http://ajax.microsoft.com/ajax/3.5/MicrosoftAjax.js is already minified... if you look at the code.

the only way that its going to do better if they gzip them ... which they do for certain browsers...

http://ajax.microsoft.com/ajax/mvc/MicrosoftMvcAjax.js is coming up as a 404

http://ajax.microsoft.com/ajax/mvc/1.0/MicrosoftMvcAjax.js is the correct address and is minified as well...

I get that MVCAjax is 4.3 KB (when saved to disk) and MVCAjaxDebug is 12 KB ....

...I know you are looking for performance but I think this might be a dry well.

-Mark

다른 팁

You can minify the files yourself here.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top