I'm currently trying to increase the speed of my website and I noticed that, when I run it through ismyblogworking.com
, I get a message that reads "your blog application doesn't support gzip compression."
Since then, I've tried quite a few things to enable gzip compression. I've updated my Wordpress to 3.8.1 (the most recent update), I've installed W3 Total Cache and I've added the follow code to my .htaccess:
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
However, I'm still getting the same warning sign, still ranking low for PageSpeed Insights. Can anybody give me some advice as to what I should be doing here? How can I get a WordPress site to enable gzip compression?
compress text, ...
is commented out (ie.#
)? Or does not exist in your actual .htaccess code? – MrWhite Apr 18 '14 at 23:20