IIS8 The following solutions:
When we deploy the site in IIS7 or iis6s, whenever IIS or application pool restarts, the first time the site response is always slow, the reason everyone knows (do not know can refer to this Animations explain why the first request on an ASP. NET page is slow . So every time the site updates will give the first user code bad user experience, so before you have to write simulation to access action or pre-compilation to solve the problem. But since Windows 2012 came out, this part of the application initialization feature has been included in the IIS8, you can directly set it. However, Microsoft has also released a separate module for early-stage IIS: Application initialization module for IIS 7.5.
- Supported operating systems are Windows 7, Windows Vista, Windows Vista SP1, Windows XP sp2+, Windows Server 2003 sp1+, Windows Server 2008, Windows Se RVer R2.
Restart is required after the installation is complete. It is said that after the module is installed, you can see the icon of the sub-module in IIS, but I did not see it. In order to resolve this issue, the application initialization for UI has to be installed before the UI can be set for IIS to appear. Once the installation is complete, a application initialization icon appears in the IIS control module and we can start setting up:
Warm up is easy to set up, mainly for application pool level or Web site level.
1.Application Pool level: As long as you need the application pool's start mode setting alwaysrunning you can
2.WEB Site Hierarchy: Choose the Web site you want to do preload.
Choose a good web site, remember the red box place to tick, if the site initialization time to long words, you can splash page Definition Initialization page description
Indicates that the site is initializing to make the user feel more friendly
Once the above is set, test it.
If it is IIS8 or above (Win8/win10/window Server2012), do not download, the steps
1, Application pool-Advanced Settings-startup mode, set to Alwaysrunning
2, select the site, click Advanced Settings on the right--pre-load enabled, set to True
================================================
Command-line tools:
Set up site preload
Appcmd Set apppool/apppool.name:zoomlacms86/startmode:alwaysrunning
APPCMD Set SITE zoomlacms86/applicationdefaults.preloadenabled:true
================================================
Have ASP. NET Web Pre-boot