enable Cache-Control response header in SharePoint 2013

Copper Contributor

I want to enable Cache-Control response header in SharePoint 2013 but unfortunately I am not abel to set it up. I tried two methods

  • Tried with HTTP Response header at site level but it duplicating. (Setup Response Header in SharePoint)

  • Tried with URLRewrite but after enabling the rule, Login functionality is not working.

    <rule name="Cache_Control" enabled="false">
    <match serverVariable="RESPONSE_Cache_Control" pattern=".*" />
    <action type="Rewrite" value="private, max-age=86400" />
    </rule>
1 Reply