Why does my ASP.Net site running under IIS7 take so long to load after a period of inactivity?

An ASP.NET web page will take maybe 10 seconds or so the first time the page loads, which is understandable since the material is loaded by JIT'ed and application domains, etc. The following queries take only half a second or so. However, if no one hits the site within a few hours, the first request after such a period of inactivity will take 10 or 20 seconds.

As if IIS is getting bored and unloading a bunch of crap. How do I get this to not do this? I want the site to always be fast, even if I don’t get much traffic.

This is a dedicated web server, users are not logged in and other applications do not work in user mode. Several gigabytes of memory are available, so nothing needs to be uploaded to the disk.

+5
source share
2 answers
+5
source

Take a look at the IIS7 application mine extension.

http://www.iis.net/download/ApplicationWarmUp

+1
source

All Articles