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
Post a Comment