Let’s assume that we have web site which runs on IIS 7.5 and built with ASP.NET MVC 3. Also assume that this website has lots of unique pages for products and all of that pages is being cached for 24 hours in memory. There are other pages also which benefits from output caching.
Everything is fine till here. As soon as we deploy a new update into IIS, the pool is recycled and all of the cache is gone.
So, I consider building a console app which basically do one thing: go and consume every single page for the website.
Is this the way of doing that sort of thing? Is there any known method for that?
There are many ways to address this issue. A few: