Created
December 30, 2016 11:28
-
-
Save evemilano/52b9433449b9ccbccf78140bf6ea549f to your computer and use it in GitHub Desktop.
ExpiresByType Directive
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
# enable expirations | |
ExpiresActive On | |
# expire GIF images after a month in the client's cache | |
ExpiresByType image/gif A2592000 | |
# HTML documents are good for a week from the | |
# time they were changed | |
ExpiresByType text/html M604800 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Articolo: https://www.evemilano.com/2014/05/abilitare-browser-caching-wordpress-htaccess/