Return to doc.sitecore.com

  Web.config changes in Sitecore CMS 6.4.1 rev. 110324 compared to Sitecore CMS 6.4.1 rev. 101221

Select the link below to download the Web.config file of the default Sitecore CMS 6.4.1 rev. 110324 installation:

Below is the list of changes made to the Web.config file of Sitecore CMS 6.4.1 rev. 110324 as compared to the Web.config file of Sitecore CMS 6.4.1 rev. 101221:

  1. The default value of the MediaResponse.Cacheability setting has been changed from "public" to "private". Also, the comment has been updated to reflect the new default value. It is recommended to change the value to "private" to prevent problems with cached media not being updated correctly:
    <!--  MEDIA RESPONSE - CACHEABILITY
     The <see cref="HttpCacheability">cacheability</see> to use in media response headers.
     Possible values: NoCache, Private, Public, Server, ServerAndNoCache, ServerAndPrivate
     Default value: private
    -->
    <setting name="MediaResponse.Cacheability" value="private" />
  2. Add the following attribute to the <system.web><httpRuntime> section:
    enableKernelOutputCache="false"
    This means that the <httpRuntime> element in a default Sitecore installation should look like this:
    <httpRuntime maxRequestLength="512000" executionTimeout="600" enableKernelOutputCache="false"/>