Leverage browser cache F (14)
-
https://gtmetrix.com/reports/www.peterwade.com/YVk2NhU0
The report from gtmetrix.com says that “expiration not specified” for quite a list of files. When I click on their “what is this link?” they suggest a lengthy list of directives for .htaccess:
## EXPIRES CACHING ## <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access plus 1 year" ExpiresByType image/jpeg "access plus 1 year" ExpiresByType image/gif "access plus 1 year" ExpiresByType image/png "access plus 1 year" ExpiresByType text/css "access plus 1 month" ExpiresByType application/pdf "access plus 1 month" ExpiresByType text/x-javascript "access plus 1 month" ExpiresByType application/x-shockwave-flash "access plus 1 month" ExpiresByType image/x-icon "access plus 1 year" ExpiresDefault "access plus 2 days" </IfModule> ## EXPIRES CACHING ##
On the other hand your plugin has added these lines:
<ifModule mod_headers.c> Header unset ETag Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate" Header set Pragma "no-cache" Header set Expires "Mon, 29 Oct 1923 20:30:00 GMT" </ifModule>
Should I just replace your lines with their recommendations?
Thanks,
Peter
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Leverage browser cache F (14)’ is closed to new replies.