Skip to content

Instantly share code, notes, and snippets.

@edymerchk
Created November 7, 2013 21:14
Show Gist options
  • Save edymerchk/7361975 to your computer and use it in GitHub Desktop.
Save edymerchk/7361975 to your computer and use it in GitHub Desktop.
no-cache Apache
ExpiresActive On
ExpiresDefault A0
<FilesMatch "\.(html|js|css|htm)$">
ExpiresDefault A0
Header set Cache-Control "no-cache, no-store, must-revalidate, max-age=0, proxy-revalidate, no-transform"
Header set Pragma "no-cache"
</FilesMatch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment