This project is read-only.

BlogEngine.Net Load Times

Topics: ASP.NET 2.0
Apr 29, 2008 at 9:32 PM
I have an issues where if I don't visit my blog for 3-4 hours, then the load load is extremely slow, almost like the very first time I went to the site.

My web host said the following, " Hello, It sounds like the site becomes unloaded from IIS. Which will cause long load times while it is recompiling your site. You may want to try precompiling your site code for ASP.NET portions of your site if you can."

Has anyone else had this issue, if so what was your solution. Remember I am using a web host for my blog.
Apr 29, 2008 at 11:31 PM
Your web host is right and WebMoncan help you out.

After 20 minutes of inactivity (i.e. no visitors hit your site), IIS flushes your BE.NET application.
So the first visitor suffers from this recompiling time passing by (can take up to 20-30 secs!)

Same experience here on my GoDaddy sites.

You can keep your application alive by simulating a visit.

A free and handy tool I recommend is WebMon (latest version 1.0.11):

  1. Download WebMon (777 kb)
  2. Install it on your computer/server with a permanent Internet connection
  3. Add your home page URL to let WebMon check it
  4. Set the interval between checks at 5 minutes or 10 minutes max.

Now your application will stay alive without the need to recompile ...
with a consistent fast load time.