Disable HTTP gzip compression in W3 Total Cache

This is a note for Future John.

I recently installed W3 Total Cache for WordPress for my blog.

Then I started having this weird problem where sometimes when I loaded the blog home page I would see binary garbage rendered as text in my browser. I think the problem was either that the Content-Type header was being set incorrectly or that the data was being double gzipped.

On the second assumption I found this setting:

W3 Total Cache > General Settings > Browser Cache > Enable HTTP (gzip) compression.

I disabled HTTP (gzip) compression and now my page seems to be working correctly again. But I will need to keep an eye on it. If you have a problem accessing my blog, please let me know!

New WordPress plugins for the blog

I have been rolling out CloudFront for a few of my domains, including blog.jj5.net.

In order to integrate CloudFront with WordPress I used the W3 Total Cache plugin.

And in order to set the <link rel=”canonical”> element I used the Yoast SEO plugin.

At one point I had a problem with garbled content in my browser. Looked like the browser was trying to display compressed content as text. But now I can’t reproduce, so hopefully whatever the issue was it is now fixed…