Last active
April 27, 2018 20:23
-
-
Save scsskid/be5fbd1055db3e1932818873fed2c9e9 to your computer and use it in GitHub Desktop.
Prevent File Caching src: https://stackoverflow.com/a/11724596
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<filesMatch "\.(html|htm|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