After years of ASP.NET development I'm actually quite surprised that I can't seem to find a satisfying solution for this.
Why does an IIS ASP.NET site always seem to fall asleep (for 2-6 seconds) after a certain time of inactivity (after several hours), during which no HTTP response is sent from server to client. This happens on any type of site, one page or many, db or not, regardless the settings. How can I fix this?
During the wait time, the server is not busy and there are no high peaks or (.NET) memory shortages. My guess is, it has to do with Windows moving the IIS process to the background and its memory to the page file, but I'm not sure. Anybody any idea?
EDIT: one solution is to send some HTTP request once an hour or so, but I hope for something more constructive.
EDIT: what I meant is: after hours of inactivity, it pauses several seconds on any new HTTP request.