Reputation: 359
Our live website is loading very slow at first request and I need to dig deeper in IIS/Server. Do you have any tricks that could help me investigate and resolve this without any 3rd parties tools?
Upvotes: 0
Views: 1215
Reputation: 310
There are some things to consider
startMode="AlwaysRunning"
this causes to w3wp process spawning just after you start Application Pool (this reduces a bit of time with first request)If we are talking about application deployment process you also need to know that there are 2 concepts (if we are talking about .net applications) IIS Application Pool and .Net AppDomain
https://www.treeloop.com/blog/iis-application-domain-and-pool-recycling so 2 and 3 may behave diferrently
Upvotes: 1
Reputation: 5205
IIS must compile the application when the first request come. That's why IIS cost so much time to return first response. Please application initialization.
Upvotes: 0