Last active
December 3, 2018 01:28
-
-
Save nikcree/835612a8a21640c116b8fba574f5e0e8 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
# BEGIN Leverage Browser Caching | |
<IfModule mod_expires.c> | |
ExpiresActive On | |
ExpiresByType image/gif "access 1 year" | |
ExpiresByType image/jpg "access 1 year" | |
ExpiresByType image/jpeg "access 1 year" | |
ExpiresByType image/png "access 1 year" | |
ExpiresByType image/x-icon "access 1 year" | |
ExpiresByType text/css "access 1 month" | |
ExpiresByType text/javascript "access 1 month" | |
ExpiresByType text/html "access 1 month" | |
ExpiresByType application/javascript "access 1 month" | |
ExpiresByType application/x-javascript "access 1 month" | |
ExpiresByType application/xhtml-xml "access 1 month" | |
ExpiresByType application/pdf "access 1 month" | |
ExpiresByType application/x-shockwave-flash "access 1 month" | |
ExpiresDefault "access 1 month" | |
</IfModule> | |
# END Leverage Browser Caching |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment