• I have had this problem affect all of my sites at one point or another but it happens sporadically. What happens is a gzip version of the site is loaded. In Firefox this just shows up as gibberish. In Chrome you’re prompted to download a gz file. The culprit is page caching. When I disable it and re-enable it the problem goes away. But it invariably comes back, often to the same site, and I have to turn it off and on again. This of course does not make clients happy as there is often a lag between when I or they notice and when I can get to a computer to turn the cache off and on. I did a diff between the .htaccess file when the problem was occurring and the .htaccess file after I enabled and re-enabled page caching. The following two lines were different within the the page caching section (broken version first)

    – RewriteCond %{HTTP_HOST} =moderndayscribe.com`
    + RewriteCond %{HTTP_HOST} =moderndayscribe.com

    – RewriteCond %{HTTP_USER_AGENT} !(W3\ Total\ Cache/0\.9\.2\.4) [NC]
    + RewriteCond %{HTTP_USER_AGENT} !(W3\ Total\ Cache/0\.9\.2\.5) [NC]

    As you can see, the broken version has a ` (backtick) character after the URL in the first section. In the second section the last number has changed from 5 to 4. I want to stress that in ALL these cases I don’t touch anything. The problem happens entirely on its own.

    Please help!

    http://wordpress.org/extend/plugins/w3-total-cache/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Have you tried to lock down the .htaccess file with a read-only settings?

    As you may already know, the version 0.9.2.5 is a security release. Your clients may have updated the previous version on their own. Sorry about my assumptions.

    Thread Starter Yaron Guez

    (@yguez)

    I wouldn’t want to do that since I want WordPress, W3 Total Cache and WP Better Security to be able to modify it for their own functionality. I received an email from the plugin developer with an updated version of the plugin that will fix this bug.

    I’m glad to know that the plugin developer sent you an updated version that fixed the issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Page caching delivers gzip file sporadically’ is closed to new replies.