Created
August 24, 2012 14:03
-
-
Save simonwhatley/3450923 to your computer and use it in GitHub Desktop.
Optimisation with mod_expires
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 image/gif "access plus 1 months" | |
ExpiresByType image/jpg "access plus 1 months" | |
ExpiresByType image/jpeg "access plus 1 months" | |
ExpiresByType image/png "access plus 1 months" | |
ExpiresByType image/vnd.microsoft.icon "access plus 1 months" | |
ExpiresByType image/x-icon "access plus 1 months" | |
ExpiresByType image/ico "access plus 1 months" | |
ExpiresByType application/javascript "access plus 1 months" | |
ExpiresByType application/x-javascript "access plus 1 months" | |
ExpiresByType text/javascript "access plus 1 months" | |
ExpiresByType text/css "access plus 1 months" | |
ExpiresDefault "access plus 1 days" | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment