Skip to content

Instantly share code, notes, and snippets.

@pph7
Created December 9, 2016 15:35
Show Gist options
  • Save pph7/d719cc1799006e305016f9f28e4a9d65 to your computer and use it in GitHub Desktop.
Save pph7/d719cc1799006e305016f9f28e4a9d65 to your computer and use it in GitHub Desktop.
<filesMatch "\.(js|css)$">
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