Speed up site on IIS7
Posted on 2011-03-11
I have several sites all with low volume (at the moment).
I understand that is a site is not accessed in 20 minutes then IIS7 effectivly puts that application to sleep untill it is requested again. On start up this then has a detrimental effect to the user.
As with most people I want to keep my site as quick as possible.
I have two main type of sites to look after 1 site is a price comparison site (built from scratch) and so has many many pages (1 for each product). The other style of sites are many CMS sites built using Mojoportal framework.
looking in the documentation for mojoportal, they recomend to resolve the slow issue to include the following lines to the config file
<add key="UseAppKeepAlive" value="true" />
<add key="AppKeepAliveUrl" value="" />
where you specify the url that you want to keep alive.
I may be able to do this for a few pages on the mojoportal site, but does this work for none mojoportal sites, I cannot see much documentation for this.
if this does apply to all IIS7 then my next issue is the price comparison site has too many pages to put a line in for each.
Is there a way that I can keep an application alive all the time and if so are there any detrimental effects.