mod_pagespeed and WP Super Cache issues

Dreamhost recently showcased their mod_pagespeed “switch” that was made available for all of their hosting customers, so I took a stab at enabling it. Most of my websites run WordPress which already isn’t exactly the quickest CMS so I figured I could use all the help I could get to make the pages load quicker.

One plugin that many WordPress users, myself included, use is called WP Super Cache, which basically caches your website as HTML instead of PHP to minimize processing delays in displaying your website to your visitors.

One option that the plugin gives you, is to gzip compress the HTML to send to the viewers. At this time, it looks like using mod_pagespeed and enabling the “Compress pages so they’re served more quickly to visitors” option in WP Super Cache will break your website. I’m not sure at the moment why this is, but if I have this enabled, both FireFox and Chrome error out when loading websites with a content encoding error, saying the content encoding on my website is incorrect.

On a side note, once that option is turned off, mod_pagespeed works great!

Anyone else having this problem?

Continue Reading