1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Enabling gzip compression in WP to increase page load speed. How?

Discussion in 'Search Engine Optimization' started by lowriderzzz, Nov 13, 2018.

  1. #1
    Hello there!

    First let me point that I have tried all sort of pluggins, yet it seems like they don't do much. My score on gzip compression parameter in GTMetrix is still F.
    Screenshot here.

    I have tried pasting compression codes in .htaccess file as well. Like this one.
    
    # compress text, html, javascript, css, xml:
    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
    AddType x-font/otf .otf
    AddType x-font/ttf .ttf
    AddType x-font/eot .eot
    AddType x-font/woff .woff
    AddType image/x-icon .ico
    AddType image/png .png
    Code (markup):
    Turned on Redis cache from my host provided too, although i dont know if that helps or not.
    SEMrush
    So now I'm stuck at a dead end street.

    I see from the report in GtMetrix that the codes which need to be compressed come from Facebook, but don't know how what I can do so I improve the score on it thus the page speed.

    Will be glad for some insights.

    Cheers
     
    lowriderzzz, Nov 13, 2018 IP
    SEMrush