Last active
August 29, 2015 14:16
-
-
Save pariz/b31e648c7827e7722367 to your computer and use it in GitHub Desktop.
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
<IfModule mod_expires.c> | |
ExpiresActive On | |
ExpiresByType text/css "access plus 86400 seconds" | |
ExpiresByType text/javascript "access plus 86400 seconds" | |
ExpiresByType application/javascript "access plus 86400 seconds" | |
ExpiresByType application/x-javascript "access plus 86400 seconds" | |
</IfModule> | |
<IfModule mod_headers.c> | |
<FilesMatch "\\.(css)$"> | |
Header set Cache-Control "max-age=86400, public" | |
</FilesMatch> | |
<FilesMatch "\\.(js)$"> | |
Header set Cache-Control "max-age=86400, public" | |
</FilesMatch> | |
</IfModule> | |
Header unset ETag | |
FileETag none |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment