Warm up your sites

by: Allan Thræn

Stefan Schackow had a great tip at the end of his PDC session “Microsoft ASP.NET 4 Core Runtime for Web Developers”. A beta extension is available for IIS 7.5 that makes IIS automatically “warm up” your web sites before any visitors arrive. This sounds to me like a pretty good solution to the problem with long and slow initial requests (EPiServer CMS experienced people will know this as the “Application is busy under initialization”-syndrom. There are a number of good posts on how you can speed up initial requests in EPiServer CMS, but with this solution you can make sure that even though your AppPool recycles every once in a while, web users are generally not affected. And it is brilliantly simple – it just launches a number of fake web requests to urls you specify when the IIS service starts or the worker has been recycled.

Download it from here

Install it

Open the control in IIS Admin

image

And setup the URLs you want it to call to initialize the site.

image

18 November 2009


Comments

  1. This is something we've been looking for after upgrading servers to 2008. The only problem was that EPiserver at that time didn't officially support R2 (iis 7.5), so now we're kind of stuck with iis7. To mitigate problem of site going to sleep we've tried increasing the settings for the worker process but we're not entirely sure if it helps. Any ideas?
Post a comment    
User verification Image for user verification  
Allan Thræn

About me

I am a product manager @ EPiServer, with a passion for the more geeky side of things. My technical interests are typically focused around user problems, user experience,  search, information management, artificial intelligence and  personalization

On top of this blog I have the blog Allan On Technology and I often crosspost.

DISCLAIMER: Unless otherwise stated in the posts, this blog expresses my personal opinions, experiments and views, not necessarilly the views of EPiServer AB.

 357 page views this week.

 

 

Syndications


Archive


Tag cloud

EPiTrace logger