[Plugin: BulletProof Security] Leverage Browser Caching via .htaccess
-
I came across this page, which gives the code to add at the top of the .htaccess to make use of browser caching.
## EXPIRES 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 text/css "access 1 month" ExpiresByType application/pdf "access 1 month" ExpiresByType text/x-javascript "access 1 month" ExpiresByType application/x-shockwave-flash "access 1 month" ExpiresByType image/x-icon "access 1 year" ExpiresDefault "access 2 days" </IfModule> ## EXPIRES CACHING ##
Where does this code need to go? Custom Code Top?
What is the best expiration period for my website which basically has mostly static content which is updated only once a month?
Thanks
https://www.ads-software.com/extend/plugins/bulletproof-security/
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘[Plugin: BulletProof Security] Leverage Browser Caching via .htaccess’ is closed to new replies.