iis 7 - Something is forcing responses to have cache-control: private in IIS7 -


i have in web.config:

<system.webserver>       <httpprotocol>           <customheaders>               <clear />               <add name="cache-control" value="max-age=30,public" />           </customheaders>       </httpprotocol> </system.webserver> 

but when load page, response header:

cache-control: private,max-age=30,public 

it asp.net mvc application, controller has no cache directives specified anywhere.

try

<system.web>     <httpruntime sendcachecontrolheader="false" />   </system.web> 

let know how goes.

jason


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -