Select the product you need help with
How to use the "batch" attribute of the Web.config file compilation element in SharePoint Server 2007 and in Windows SharePoint Services 3.0Article ID: 953459 - View products that this article applies to. INTRODUCTIONThis article describes how to use the batch attribute of the Web.config file compilation element in a Microsoft Office SharePoint Server 2007 Web site and in a Microsoft Windows SharePoint Services 3.0 Web site. MORE INFORMATIONIn SharePoint Server 2007, the setting is supported when you set the batch attribute of the compilation element to "true" in the Web.config file for the _layouts folders on a SharePoint Server 2007 Web site as follows. C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\template\layouts
However, in SharePoint Server 2007, the setting is not supported when you set the batch attribute of the compilation element to "true" for the root of the SharePoint Server 2007 Web site. Therefore, the root site of the compilation element in the Web.config file should resemble the following element.C:\inetpub\wwwroot\wss\VirtualDirectories\Web site You can add the compilation element after the "/httpModules" section and before the "assemblies" section. The batch attribute is used by the ASP.NET compilation element. This attribute controls all compilation for applications to which the Web.config file applies. When the attribute is set to "true," the delay that you experience when you access files for the first time can be decreased. This is because, when the batch attribute is set to "true," all uncompiled files will be compiled in batch mode by ASP.NET. However, for larger applications, there may be a significant delay when files are compiled for the first time because there are more file batches to compile. After the initial compilation, delays are decreased when you access the compiled files. For more information, visit the following Microsoft Web site: http://msdn.microsoft.com/en-us/library/s10awwz0.aspx
(http://msdn.microsoft.com/en-us/library/s10awwz0.aspx)
PropertiesArticle ID: 953459 - Last Review: May 1, 2009 - Revision: 2.0
|


Back to the top








