Slow, then quick then slow

J

JosephByrns

I have an asp.net application, on first load the page is slow to load. The
next time I go to the page it is fast, then fast again then back to slow.
The number of times it is slow seems to be time based, for example:

First Load at Time 0s: (10 seconds to load page)
Second Load at Time 11s (<1s to load page)
Third Load at Time 13s (<1s to load page)
Fourth Load at Time 15s (<1s to load page)
First Load at Time 17s: (10 seconds to load page)

This process keeps repeating itself.

Anybody have any idea what this is? Caching probelms perhaps?
 
R

Rob Meade

...
I have an asp.net application, on first load the page is slow to load. The
next time I go to the page it is fast, then fast again then back to slow.
The number of times it is slow seems to be time based, for example:

First Load at Time 0s: (10 seconds to load page)
Second Load at Time 11s (<1s to load page)
Third Load at Time 13s (<1s to load page)
Fourth Load at Time 15s (<1s to load page)
First Load at Time 17s: (10 seconds to load page)

This process keeps repeating itself.

Anybody have any idea what this is? Caching probelms perhaps?

Is this all within the same few mintues? Or on different days?

Rob
 
J

JosephByrns

In fact the proplem seems to be isolated to one particular aspx page in one
application.

There is nothing remarkable about this page, and infact it is a copy of
another page in another application that does not exhibit the same problem.
 
J

JosephByrns

It is in the same few minutes.

I've just fixed it though, this particular application was trying to access
a file on a shared folder that no longer exists. When I stopped it looking
in the wrong place everything worked again.

Thanks for the response.
 
Joined
Nov 13, 2007
Messages
4
Reaction score
0
ASP.NET Slow Response Time (Workaround)

I had the same problem. The reason is that the application domain times out every 20 mins if there is no activity, the first request after the timeout can force a recompile and reload of cache. Changing some settings in the machine.config file will solve the problem; unfortunately for me my hosting provider would not allow me to make this change. I found this utility to be useful.

http://www.spikesolutions.net/ViewSolution.aspx?ID=c2b7edc0-5de1-4064-a432-05f6eded3b82

Essentially it "Pings" my home page every few mins so the application domain does not time out. The utility can also be configured to ping more than one page so that auxiliary pages are fast too.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top