Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking to suppress caching for all files that end with .appcache in IIS.

If I was using Apache, I would drop the file into a directory and add:

ExpiresActive On
ExpiresDefault "access"

How do I control caching headers in IIS?

share|improve this question

migrated from Jul 11 '12 at 0:52

This question came from our site for professional and enthusiast programmers.

You can write Cache Rules in IIS and add the extensions that you'd want to manipulate and specify the actions which need to be performed on the files with those extensions.

Select the hostname --> Select Output Caching --> Add the extension ".appcache" --> select the "prevent all caching" or uncheck "user-mode caching" and it should stop IIS from keeping a cache of the pages.

Check this SuperUser link. An elaborate explanation of IIS caching can be found here.

Hope this helps.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.