开发者

Using Script manager causes the page to load slowly

开发者 https://www.devze.com 2022-12-14 15:06 出处:网络
I use script manager in website to use ajax, but when 开发者_JS百科I host my page it loads very slowly.

I use script manager in website to use ajax, but when 开发者_JS百科I host my page it loads very slowly. When I remove the script manager it loads quickly. So what I have to do to solve this problem


The script manager has some significant amount of JavaScript (up to 100K) to be loaded. What you can do to remedy the problem is to set up proper caching policy, so that the browser only loads it once and takes it from the cache after the first load


Be sure that debugging is disabled. More script and round-trips are needed in debug mode.

0

精彩评论

暂无评论...
验证码 换一张
取 消