简体   繁体   中英

Ensure cache manifest is not cached by browser using IIS

I'm going to be adding a cache manifest to my web app. However, I will be adding the app to IIS, and I'm unsure about how to ensure "that the cache manifest file is not cacheable by HTTP semantics" - ref http://diveintohtml5.info/offline.html

Anyone know how to ensure a file with the .appcache extension never gets cached by the browser or intermediary proxies?

Thanks!

Chris

Look at the IIS Manager,

Then choose the site settings (IS) for Output Caching. add a rule for .appcache

Go to Actions, and Add..

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM