Created
December 6, 2009 13:40
-
-
Save aarongustafson/250230 to your computer and use it in GitHub Desktop.
Expires headers examples for Apache
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
ExpiresActive on | |
ExpiresByType text/css "access plus 5 years" | |
ExpiresByType application/x-javascript "access plus 5 years" | |
ExpiresByType text/javascript "access plus 5 years" | |
FileETag none |
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
ExpiresActive on | |
ExpiresByType text/css "access plus 5 days" | |
ExpiresByType application/x-javascript "access plus 24 hours" | |
ExpiresByType text/javascript "access plus 24 hours" | |
FileETag none |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment