Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 stackoverflow.com Jul 11 '12 at 0:52

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

add comment

1 Answer

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
add comment

Your Answer

 
discard

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