Last active
October 20, 2015 12:57
-
-
Save ntorga/88385c2ce82321adfdc5 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
<FilesMatch ".(ico|jpg|jpeg|png|gif|js|css|swf|pdf|flv|mp3)$"> | |
<IfModule mod_expires.c> | |
ExpiresActive on | |
ExpiresDefault "access plus 5 year" | |
Header set Cache-Control "public" | |
</IfModule> | |
</FilesMatch> | |
<FilesMatch ".(html|htm|xml|txt|xsl)$"> | |
Header set Cache-Control "max-age=7200, must-revalidate" | |
</FilesMatch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment