简体   繁体   English

浏览器需要很长时间才能呈现html控件asp.net

[英]Browser takes long time to render html controls asp.net

I have an aspx page showing lots of information in a tabular format on ajax tab container. 我有一个aspx页面,它以表格格式在ajax选项卡容器上显示很多信息。 Approximately 3 to 5 tabs are used. 大约使用3到5个标签。 I have used some of AJAX controls such as CalendarExtendar, ValidationCallout etc on page. 我在页面上使用了一些AJAX控件,例如CalendarExtendar,ValidationCallout等。 My problem is that the page is loaded fast but the browser takes long time for rendering the controls. 我的问题是页面加载速度很快,但是浏览器需要很长时间才能呈现控件。 On my local system the page loading takes around 8 seconds while on server it is taking about 25 seconds. 在我的本地系统上,页面加载大约需要8秒,而在服务器上,页面加载大约需要25秒。 I have also disabled the viewstate wherever applicable and even compressed the viewstate using gzip. 我还禁用了适用的viewstate,甚至使用gzip压缩了viewstate。

Have you tried monitoring your call in firefox's firebug Net tab? 您是否尝试过在firefox的firebug“网络”标签中监控呼叫? There you can dissect the transfer in detail and see what part of your page is taking how much time. 您可以在那里详细分析传输,并查看页面的哪部分花费了多少时间。 Also the YSlow plugin will give you some sound advice on improving the performance of your pages. 此外, YSlow插件还将为您提供一些有关改善页面性能的合理建议。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM