IIS takes a long time to get started

I have a large website and we have converted it to a web application. then again we published the application and get the result files in another web application and do our own development on top of it. The above steps are taken to reduce assembly time. this reduced assembly time, but it took a long time before the first launch. Our site contains a large number of files. are there any suggestions for reducing lead time. after each change, we must wait 5-10 minutes to load the site.

+4
source share
1 answer

I think the Application Initialization Module will be useful for you;)

EDIT


Adding the following code helped solve the problem,

<compilation optimizeCompilations="true" /> 

Optional Boolean attribute Specifies whether dynamic compilation will recompile the entire site if the top-level file is modified. Top-level files include the Global.asax file and all files in the Bin and App_Code Folders. If True, only modified files are recompiled. The default value is False. For more information, see Understanding ASP.NET Dynamic Compilation .

+1
source

Source: https://habr.com/ru/post/1439800/


All Articles