Last active
February 15, 2016 12:18
-
-
Save nixjobin/f3aff20f2ea8c25a9bfc to your computer and use it in GitHub Desktop.
Leverage Browser Caching in website with .htaccess
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
# Leverage Browser Caching START | |
ExpiresActive On | |
ExpiresByType image/jpg "access 7 days" | |
ExpiresByType image/jpeg "access 7 days" | |
ExpiresByType image/gif "access 7 days" | |
ExpiresByType image/png "access 7 days" | |
ExpiresByType text/css "access 7 days" | |
ExpiresByType text/html "access 2 days" | |
ExpiresByType application/pdf "access 7 days" | |
ExpiresByType text/x-javascript "access 7 days" | |
ExpiresByType application/x-shockwave-flash "access 7 days" | |
ExpiresByType image/x-icon "access 7 days" | |
ExpiresDefault "access 7 days" | |
# Leverage Browser Caching END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment