Forum Moderators: open

Message Too Old, No Replies

aspx pages load slowly

any ideas?

         

Crush

8:50 pm on Apr 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



We just moved to .net but I am finding the pages are delayed for download. As a surfer this could be enough to make me leave. I am sure we are losing valuable custom from it.

I have also noticed that on occassions pages freeze and I need to hit the refresh. Another concern. Any ideas what it could be?

emsaw

8:36 am on Apr 4, 2005 (gmt 0)

10+ Year Member



Crush,

Do your pages have a lot of controls that require viewstate? I went through one of my ASP.net properties and realized ~ 30% decrease in file size by reducing the number of controls that had viewstate enabled, which in turn improved the response times from the server.

Is your application on a shared server? If so, do you know how many other sites are hosted on your box?

-Mark

mrMister

4:26 pm on Apr 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, viewstate is a big problem, be very wary of it. it's the equivalent of the old Session variables. It's too easy for a novice user to end up overusing them and take a big performance hit.

Crush, is this delay only happening on the first access to each page after the server has been started/restarted? If so, the delay is due to the pages being compiled. You should use pre-compiled server controls for most of your processing.

duckhunter

6:06 pm on Apr 8, 2005 (gmt 0)

10+ Year Member



Check your Bandwidth and Process Throttling settings in IIS Manager. Make sure they are off

Easy_Coder

8:07 pm on Apr 8, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The msdn has 2 pretty good pages on improving performance on asp.net pages.

google for "asp.net performance tips" & for "improving asp.net performance"

sharbel

9:27 pm on Apr 9, 2005 (gmt 0)

10+ Year Member



Inefficient data-access and ViewState abuse is the most common problem I would think.

macrost

5:52 pm on Apr 10, 2005 (gmt 0)

10+ Year Member



Also make sure when the app is deployed, do not be in debug mode. That is a killer also.