Support » Plugin: W3 Total Cache » Cached gzip page not being generated

  • Here’s my debug output:

    <!-- W3 Total Cache: Page cache debug info:
    Engine:             disk: enhanced
    Cache key:          _index.html_gzip
    Caching:            enabled
    Status:             not cached
    Creation Time:      0.191s
    Header info:
    Content-Type:       text/html; charset=UTF-8
    Last-Modified:      Wed, 02 Jan 2013 06:46:02 GMT
    Vary:               Accept-Encoding, Cookie
    X-Powered-By:       W3 Total Cache/
    Content-Encoding:   gzip

    In my pgcache directory, there’s a _index.html, but no _index.html_gzip. If I create a _index.html_gzip by doing something like echo "HI" | gzip > _index.html_gzip, then I get a big HI on the page.

    It seems that it’s generating the non-compressed version of the page, but not the compressed one. Why isn’t it generating the gzipped version?

Viewing 2 replies - 1 through 2 (of 2 total)
  • phpinfo() reports:

    gzip compression: enabled
    ZLib Support: enabled
    Stream Wrapper support: compress.zlib://
    Stream Filter support: zlib.inflate, zlib.deflate
    Compiled Version:
    Linked Version:
    zlib.output_compression: Off

    I don’t have a direct answer for you but I believe the caching is indeed working if you turn off the debug information, and the last 2 comments here seem to be correct.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cached gzip page not being generated’ is closed to new replies.