andraaspar/mag/v1.1/src/dropin/.htaccess - Htaccess File

andraaspar/mag/v1.1/src/dropin/.htaccess

# Make sure appcache files are served with correct mime-type
# From: https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache
AddType text/cache-manifest .appcache

# Disable caching of HTML & appcache files
# From: https://www.askapache.com/htaccess/using-http-headers-with-htaccess.html
<FilesMatch ".(html|htm|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>

On Github License

Files

Download PDF of Htaccess file
no-cache, Pragma

Comments

Apache