I'm running w3 total cache on a bunch of sites, and the aggregation, minification and caching is working great - but as far as I can tell none of the content is being gzipped.
I've got HTTP Compression set to gzip and deflate on my page cache settings. Is there anything else I need to set up to get this working - or anyway I can debug why it isn't?
Thanks
http://wordpress.org/extend/plugins/w3-total-cache/
Pascal Dreissen
Member
Posted 3 years ago #
If you are running Apache 2.x be sure that mod_deflate is available, if running Apache 1.x be sure that mod_gzip is available
Also be sure that there is a .htaccess file in the root where w3tc has set a section with #BEGIN HTTP Compression.
# BEGIN HTTP Compression
<IfModule mod_deflate.c>
# Netscape 4.x has some problems...
BrowserMatch ^Mozilla/4 gzip-only-text/html
# Netscape 4.06-4.08 have some more problems
BrowserMatch ^Mozilla/4\.0[678] no-gzip
Check with FireFox and firebug for the response code (or the web developer toolbar)
@pdreissen, W3TC does not require mod_deflate nor mod_gzip to support http compression. Anyway, @leewillis77, try using a tool like http://www.gidnetwork.com/tools/gzip-test.php to make sure your pages are compressed and I recommend only using gzip, not gzip and deflate.
Hmm - I was using firebug to see whether they were being served compressed, and I swear they weren't.
That said - I deactivated and reactivated a couple of times (For other reasons), and it seems to have righted itself now.
Thanks for all the replies!
Pascal Dreissen
Member
Posted 3 years ago #
W3TC does not require mod_deflate nor mod_gzip to support http compression
Ok sorry for that :)