Sitecore Client applications may fail when "DisableBrowserCaching" is set to "false"


Description

Sitecore Client applications may fail to work properly when the value of the "DisableBrowserCaching" setting is set to "false".

For example, the Content Editor application may fail to save data when editing items. The save action will look like it succeeded but the data will not be saved.

In some other cases, the following error may be raised when using the Content Editor:

[NullReferenceException: Object reference not set to an instance of an object.]
Sitecore.Shell.Applications.ContentManager.ContentEditorForm.OnLoad(EventArgs e)

Solution 1

Set the value of the "DisableBrowserCaching" setting to "true".

Solution 2

  1. Copy the Sitecore.Support.312410.dll file to the /bin folder of your solution.
  2. In the web.config file replace the line
    <processor type="Sitecore.Pipelines.RenderLayout.BrowserCaching, Sitecore.Kernel" />
    with
    <processor type="Sitecore.Support.Pipelines.RenderLayout.BrowserCaching, Sitecore.Support.312410" />