Forum Moderators: open
## EXPIRES HEADER CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType image/svg "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType application/javascript "access 1 month"
ExpiresByType application/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 3 days"
</IfModule>
## EXPIRES HEADER CACHING ## ExpiresDefault "access 3 days", for example, will allow 3-day browser caching for your HTML pages, which may not be what you want if you're using WordPressIf you’re using WordPress, it’s very likely you don’t have HTML pages. Except possibly error documents, which you would hope visitors don’t require more than once in three days anyway. (Besides, I kinda think Expires settings refer to the underlying filetype, which may be different from the visible extension, if any.)