This is a new website. (You can get access via private, below).
When I go to GTmetrix.com for a performance check, my “leverage browser cache” is at best a “D” grade. I’ve never received such a poor grade with any of my other Enfold sites. I’ve tried using WP Super Cache, and now I’ve got Comet Cache activated. Still no change in results.
About the only thing that is different in this website than my other Enfold sites is that I’m using one of your premade demos “Church”.
The issue leverage browser caching is on all my Enfold sites now. So, I’m wondering what might be the problem.
Hi,
Did you define the expiration or cache duration of the site resources in the .htaccess file? This documentation should help.
// https://gtmetrix.com/leverage-browser-caching.html
Example of cache expiry config.
<IfModule mod_expires.c>
ExpiresActive On
# Images
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType image/webp "access plus 1 year"
ExpiresByType image/svg+xml "access plus 1 year"
ExpiresByType image/x-icon "access plus 1 year"
# Video
ExpiresByType video/mp4 "access plus 1 year"
ExpiresByType video/mpeg "access plus 1 year"
# CSS, JavaScript
ExpiresByType text/css "access plus 1 month"
ExpiresByType text/javascript "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month"
# Others
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
</IfModule>
Best regards,
Ismael
Great, thanks Ismael.
Hi laptophobo,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
Victoria