Showing posts with label iis. Show all posts
Showing posts with label iis. Show all posts

Friday, November 18, 2011

HTTP Headers to Disable Caching in Firefox

It took me ages to find this:
Cache-control: no-cache
Cache-control: no-store
Pragma: no-cache
Expires: 0
To alter headers in the IIS7 GUI go HTTP Response Headers. It won't allow you to add two headers of the same name so either add no-cache,no-store or you can set no-cache by expiring web content immediately in Set Common Headers at the top right and add Cache-control: no-store manually.