Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1218362

    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”.

    #1220017

    The issue leverage browser caching is on all my Enfold sites now. So, I’m wondering what might be the problem.

    #1220805

    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

    #1221558

    Great, thanks Ismael.

    #1221770

    Hi laptophobo,

    Glad we could help :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Leverage Browser Caching plugins not working’ is closed to new replies.