DotNetNuke, Slow Page Loads

Running DotNetNuke?  Finding it incredibly slow the first time you load a page?

What happens is ASP.NET unloads the DotNetNuke application after a period of inactivity, and then on the next visit, recompiles the entire site.

Strangely, this leads to terrible performance on a slow site, but good performance on a busy site.

So the solution is to make your site busy.  :)  Or, at least to convince ASP.NET that your site is busy.

An easy way to do this is to grab wget.exe, and create a batch file that does a "wget http://www.mysite.com" every 5 minutes.  This resets the ASP.NET idle counter to keep your site from being unloaded.

You can get a Win32 wget.exe here.