We have a website that is deployed on Windows Azure. In Virtual Machine we have Windows Server 2008 with IIS 7.5 installed.
Problem: When we call any page of website it takes more than 2 minutes to load but after it loads then it loads pretty fast on any other browser. If application stays idle for some time (means there is no request to website from any where) it again takes very long time to load.
I searched web for this & found that "Application Initialization" module for IIS 7.5 (<- Link) can keep the website warm, I applied this on local environment & it works perfectly, after loading website it stays warm-up, I left website idle from my end & loaded website after 1.5 hours & it loaded pretty fast (within 15 to 20 seconds).
But Now I have to deploy it on Windows Azure I searched for the techniques that can be used for this in this article (<- Link).
But with first approach, I am not sure when the installation made will be removed from the Azure Server as it's not persistent.
In Second Approach I developed the Start-up task as mentioned in this post (<- Link). But found that In current case (installing the Application Initialization module) is not possible, as this requires the system restart with user involvement.
I suspect the third technique of [Technique 3: VM Role] is not possible with Windows Server 2008 with IIS7.5 & we have website, also this module as this requires the setting the Application pool to website.
Can anyone please help me to the better approach that can I have do with this requirement or any other ideas to keeping the website warm on Azure.
Thanks.