I have a web application ( http://www.holidaystreets.com ), it has about 120,000 + pages. Whenever we restart the server, it takes more than 15 minutes to warm up the site. I built it as "Release", it does not have any heavy initialization (for example, control adapters or APPInit). Any tips?
The mystery is solved. Well, I noticed a problem today. This application has been converted from a project of type WebSite to type WebApplication. I had a coddom defined in web.config so that I could compile each page separately on request for the first time. (this was done because we had such a huge number of pages). However, in WebApplication, it compiled every page on first load. After deleting a section, the application loads in less than 2 seconds!
source share