Skip to content

Instantly share code, notes, and snippets.

@jeremysells
Created March 7, 2016 01:02
Show Gist options
  • Save jeremysells/c90782326a11a3dcf794 to your computer and use it in GitHub Desktop.
Save jeremysells/c90782326a11a3dcf794 to your computer and use it in GitHub Desktop.
vhost disable caching.conf
vhost disable asset cacheing
<Directory .../public_html>
#disable caching
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"
</Directory>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment