Created
March 12, 2014 15:51
-
-
Save patricksimpson/9509712 to your computer and use it in GitHub Desktop.
An example of longer expires.
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_expires.c> | |
ExpiresActive On | |
ExpiresDefault "access plus 1 second" | |
ExpiresByType text/html "access plus 7200 seconds" | |
ExpiresByType image/gif "access plus 518400 seconds" | |
ExpiresByType image/jpeg "access plus 518400 seconds" | |
ExpiresByType image/png "access plus 518400 seconds" | |
ExpiresByType text/css "access plus 1 month" | |
ExpiresByType text/javascript "access plus 216000 | |
seconds" | |
</ifmodule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment