• Resolved expansion8933

    (@expansion8933)


    Hello! On my website https://www.ontheastralroad.com/ I have activated “Compress pages…”. Unfortunately, GZIP is working only with the home page, but all the other assets were uncompressed (I tested them here: https://www.giftofspeed.com/gzip-test/). I have tried multiple times with no results. I also tried w3 total cache, which immediately worked compressing all assets.

    Since I really would prefer to use WP Super cache, I ended up adding this to htacces:

    <IfModule mod_deflate.c>
    
    AddOutputFilterByType DEFLATE text/html
    
    AddOutputFilterByType DEFLATE text/css
    
    AddOutputFilterByType DEFLATE text/javascript
    
    AddOutputFilterByType DEFLATE text/xml
    
    etcetera...

    My question is: is this behaviour to be expected? Does WP Super cache compress only the html of the pages? Is it possible to activate text compression globally, or should I always modify the htaccess file?

    Thanks a lot for your help!

    Ernesto

    • This topic was modified 2 years, 11 months ago by expansion8933.
    • This topic was modified 2 years, 11 months ago by expansion8933. Reason: typos

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • This is expected because WP Super Cache only works on the HTML of your site. You should check out Jetpack Boost which does amazing things to CSS and JavaScript. You can use both plugins at the same time as they do different things.

    Thread Starter expansion8933

    (@expansion8933)

    Thanks a lot for your quick reply!

    • This reply was modified 2 years, 11 months ago by expansion8933.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘GZIP active only for html (no text compression for css, js…)’ is closed to new replies.