开发者

Slow rendering of pages due to User Controls

开发者 https://www.devze.com 2022-12-22 17:27 出处:网络
How would you troubleshoot a page that is rendering slowly in ASP.NET? This issue is happeni开发者_如何学Gong on only specific pages with a few user controls. Other pages work fine. Tracing has clari

How would you troubleshoot a page that is rendering slowly in ASP.NET?

This issue is happeni开发者_如何学Gong on only specific pages with a few user controls. Other pages work fine. Tracing has clarified that the issue is happening between "Begin Render" and "End Render".


Thanks for your responses! Check this link out... IMHO, this could be a way in fixing the issue permanently.

http://attosol.com/slow-page-rendering/

HTH


Have you tried adding caching to your user controls or do they have to be permanently dynamic?

EDIT

If the render is causing pain then it suggests that you have heavy controls loading.

You could try to load the pages without the controls and then use ajax to pull in the heavy controls after the page has loaded - using the appropriate loading graphics. Jquery could be used to asynchronously load the heavier controls whilst allowing the user to see the page very quickly.

EDIT


Use a .Net Profiler.

It's the only conclusive way to pinpoint your performance issues.

0

精彩评论

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