Created
August 11, 2012 19:06
-
-
Save pvledoux/3326449 to your computer and use it in GitHub Desktop.
Apache Cache Control
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 | |
ExpiresDefault "now" | |
ExpiresByType text/html "now" | |
ExpiresByType text/xml "now" | |
ExpiresByType text/css "access plus 8 hours" | |
ExpiresByType text/plain "access plus 8 hours" | |
ExpiresByType application/x-javascript "access plus 8 hours" | |
ExpiresByType application/x-shockwave-flash "access plus 8 hours" | |
ExpiresByType application/pdf "access plus 8 hours" | |
ExpiresByType image/gif "access plus 8 hours" | |
ExpiresByType image/png "access plus 8 hours" | |
ExpiresByType image/jpeg "access plus 8 hours" | |
ExpiresByType image/x-icon "access plus 8 hours" | |
ExpiresByType video/x-flv "access plus 8 hours" | |
ExpiresByType video/quicktime "access plus 8 hours" | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment