GZIP active only for html (no text compression for css, js…)
-
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 .
- This topic was modified 2 years, 11 months ago by . Reason: typos
The page I need help with: [log in to see the link]
The topic ‘GZIP active only for html (no text compression for css, js…)’ is closed to new replies.