Is there anyway to keep an aspx page/site in memory on the server at all times? When you hit a site for the first time on the server, it starts the JIT compiler and puts the site in memory, but then after 10 minutes, the site gets flushed out of memory and then the client has to wait the extra 10-15 seconds for the site to load.
Anyway to speed up the process??

1 answers
You need to set processmodel timeout and idletime attributes values in your machine.config to infinate. And if you are using IIS6.0 then use IIS 6.0 config to set the idletimeout property instead of updating machine.config. And in order to speed up the process, you cache object to cache static (or least updated items) items/controls on your pages.
answered 2 years ago by:
0
Follow this link, http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpcondevelopinghigh-performanceaspnetapplications.asp
Search for "Recycle processes when running ASP.NET Web applications on Internet Information Services 5.0". On that page.
answered 2 years ago by:
0
Thanx Govinda, I'll keep you posted on whether this solution works on my machine.
And yes, I am running IIS 6 on my server (win2k3).
answered 2 years ago by:
0
Where in IIS 6 do I make these changes?? I looked through properties of the site and can't find anything expect for Session State which doesn't help.
answered 2 years ago by:
0
Wait, found it:
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconperformanceapplicationpoolsettings.asp?">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconperformanceapplicationpoolsettings.asp</a>
answered 2 years ago by:
0
This post was imported from csharpfriends, if you have a similiar question please ask it again.
All previous members have been migrated, hope you enjoy the new platform!