Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1032764

    Hey Enfold theme support team,
    I have noticed that our website has been very slow recently, then I ran a GTmetrix testing, then found out that are 85 static components without a far-future expiration date, most of them are from our Enfold theme. My website is running on Enfold version of 4.4.1.

    • This topic was modified 6 years ago by Linortek.
    #1033073

    This is the header caching settings in my .htaccess file:
    <FilesMatch “.(ico|pdf|flv|jpg|jpeg|png|gif|svg|js|css|swf)$”>
    Header set Cache-Control “max-age=84600, public”
    </FilesMatch>
    ## EXPIRES HEADER CACHING ##
    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 1 month”
    ## EXPIRES HEADER CACHING ##
    Anybody can give me some idea how to fix the slow site issue caused by some of the files in Enfold theme?
    Thanks!

    #1033306

    Hi,

    Did you try to use a caching plugin? Maybe this will help you out: https://gtmetrix.com/add-expires-headers.html

    Best regards,
    Rikard

    #1033529

    Hey Rikard,
    Thank you for getting back to me. I did use a new plugin to fix the issue. But just curious, my site was quite fast before, but after a few updates of Enfold, it became so slow then I tested and got that report, the old cache plugin did not work anymore and I had to switch to another one. How can this happen?

    #1033817

    Hi,

    I’m not sure why that would happen, did you check your .htaccess file to verify the expiration set there?

    Best regards,
    Rikard

    #1034483

    Yes, please see my second post above for the header setting, it includes css file, but all the testing results without a header expiration date for Enfold theme are css files. Not sure what’s going on. Then I installed Autopmize cache plugin and it fixed that issue. I am just worried that after a while and the issues come back again like before.

    #1034492

    By the way – i think performance does not correlate in a direct way to expires.c
    this is a bad ranking factor on gtmetrix or pingdom tools – yes – but it does not decelerate your site.

    there must be other factors – or you just didn’t express yourself precisely enough upstairs in the intro topic.
    Is it the site of your avatar link ?

    don’t know if it is neccessary to set the “timeout” with a plus – my entries concerning to expires header are:

    # Browsercache
    <IfModule mod_expires.c>
     ExpiresActive On
     ExpiresDefault "access plus 1 month"
     ExpiresByType text/css "access plus 1 month"
     ExpiresByType text/javascript "access plus 1 month"
     ExpiresByType text/html "access plus 1 month"
     ExpiresByType application/javascript "access plus 1 month"
     ExpiresByType application/x-javascript "access plus 1 month"
     ExpiresByType application/x-font-ttf "access plus 1 month"
     ExpiresByType application/x-font-woff "access plus 1 month"
     ExpiresByType application/x-woff "access plus 1 month"
     ExpiresByType application/xhtml-xml "access plus 600 seconds"
     ExpiresByType application/pdf "access 1 month"
     ExpiresByType image/gif "access plus 1 month"
     ExpiresByType image/jpg "access plus 1 month"
     ExpiresByType image/jpeg "access plus 1 month"
     ExpiresByType image/svg+xml "access plus 1 year"
     ExpiresByType image/svg "access plus 1 year“
     ExpiresByType image/png "access plus 1 month"
     ExpiresByType image/x-icon "access plus 1 month"
    </IfModule>
    
    • This reply was modified 6 years ago by Guenni007.
    #1034499

    Hey Guenni007,
    Thank you for your input. I don’t know any website coding unfortunately, and we are very small, we got a lot of reports in the past few weeks that our website is very slow, then I came to run the speed test with GTmetrix and Pingdom and found those facts that made the site slow. Then installed Autopmitize plugin after did a lot of research, the site speed seems improving a little bit, but still has some issue. I really don’t know what else should I do actually.

    #1035327

    Hi,

    That is simple to add it, if u edit the htaccess rule.

    Best regards,
    Basilis

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.