Created
April 19, 2012 03:13
-
-
Save cmsimike/2418140 to your computer and use it in GitHub Desktop.
disable css and js caching on the client for development
This file contains hidden or 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
<IfModule mod_headers.c> | |
<FilesMatch "\.(css|js)$"> | |
Header set Cache-Control "no-store" | |
</FilesMatch> | |
</IfModule> | |
$ sudo a2enmod headers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment