WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: W3 Total Cache] Pages not being served gzipped? (6 posts)

  1. Lee Willis
    Member
    Posted 4 years ago #

    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/

  2. Pascal Dreissen
    Member
    Posted 4 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)

  3. Frederick Townes
    Member
    Posted 4 years ago #

    @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.

  4. Lee Willis
    Member
    Posted 4 years ago #

    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!

  5. Pascal Dreissen
    Member
    Posted 4 years ago #

    W3TC does not require mod_deflate nor mod_gzip to support http compression

    Ok sorry for that :)

  6. Frederick Townes
    Member
    Posted 4 years ago #

    Ok.

Topic Closed

This topic has been closed to new replies.

About this Topic