• Resolved Futuresweb

    (@webmasterfutureswebcom)


    Scores from GTmetrix. I’m receiving an F (0) – Enable Gzip Compression and I show it turned on and there’s the following code in the htaccess.

    ## BEGIN GZIP Compression ##
    <IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/plain
    AddOutputFilterByType DEFLATE text/html
    AddOutputFilterByType DEFLATE text/xml
    AddOutputFilterByType DEFLATE text/css
    AddOutputFilterByType DEFLATE application/xml
    AddOutputFilterByType DEFLATE application/xhtml+xml
    AddOutputFilterByType DEFLATE application/rss+xml
    AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType DEFLATE application/x-javascript
    AddOutputFilterByType DEFLATE application/x-httpd-php
    AddOutputFilterByType DEFLATE application/x-httpd-fastphp
    AddOutputFilterByType DEFLATE image/svg+xml
    SetOutputFilter DEFLATE
    </IfModule>
    ## END GZIP Compression ##

    And I’m receiving a E (56) for leverage browser caching and the following code is in my htaccess file.

    ## BEGIN Leverage Browser Caching (Expires Caching) ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType text/css “access 1 month”
    ExpiresByType text/html “access 1 month”
    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/x-icon “access 1 year”
    ExpiresByType application/pdf “access 1 month”
    ExpiresByType application/javascript “access 1 month”
    ExpiresByType text/x-javascript “access 1 month”
    ExpiresByType application/x-shockwave-flash “access 1 month”
    ExpiresDefault “access 1 month”
    </IfModule>
    ## END Leverage Browser Caching (Expires Caching) ##

    WordPress 5.0.3. PHP 7.0
    Any suggestions?

    The page I need help with: [log in to see the link]

  • The topic ‘low scores’ is closed to new replies.