Skip to content

Instantly share code, notes, and snippets.

@codeBelt
Created October 30, 2013 15:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codeBelt/7234191 to your computer and use it in GitHub Desktop.
Save codeBelt/7234191 to your computer and use it in GitHub Desktop.
Prevents Application Cache Manifest from being cached in the browser.
AddType text/cache-manifest .appcache
<FilesMatch "\.appcache$">
FileETag None
<ifModule mod_headers.c>
Header unset ETag
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
</ifModule>
</FilesMatch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment