optimizeCompilations | Optional Boolean attribute. Specifies whether dynamic compilation will recompile an entire site if a top-level file is changed. Top-level files include the Global.asax file and all files in the Bin and App_Code folders. If True, only changed files are recompiled.The default is False. For more information, see Understanding ASP.NET Dynamic Compilation. |
If you are using Windows Vista Service Pack 1 or Windows Vista Service Pack 2, install the hotfix for ASP.NET on IIS 7.0 (KB967535). This hotfix, which has already been installed on Windows 7, Windows Server 2008 Service Pack 2, and Windows Server 2008 R2, updates the ASP.NET common language runtime (CLR) to recognize a new option of optimizing compilations. To take advantage of this option, set theoptimizeCompilations property of the <compilation> tag in your web.config file to true:
This change significantly improves the initial page load time after you have installed a solution to the bin directory.
Hiç yorum yok:
Yorum Gönder