Disabling Browser Cache on Windows Server static files

The following configuration sample adds an HTTP "Cache-Control: no-cache" header to the response, thereby disabling caching of requests in the browser.


<configuration>

   <system.webServer>

      <staticContent>

         <clientCachecacheControlMode="DisableCache"/>

      </staticContent>

   </system.webServer>

</configuration>

Was this answer helpful? 0 Users Found This Useful (0 Votes)