The code changes here have been incorporated into WP Super Cache. Simply install the latest version, no modifications necessary.
For users who have written comments or are logged in, WP Super Cache serves up the traditional WP-Cache cached pages instead of static pages (or rather, the web server doesn’t direct logged in users the static pages). In other words, anonymous visitors get the compressed or uncompressed Super Cache pages, but logged in users only get uncompressed pages served by WP-Cache. I merged in the code I posted previously to make WP-Cache properly gzip compress cached pages once per page, so that logged in users can enjoy gzipped pages too (stored on disk and served by WP-Cache, not recompressed for each request). Very interested in what Donncha thinks about this. Also included Reiner Saddey’s fix to prevent WP-Cache from changing the content type of feeds to “text/html”.
Downloads:
WP Super Cache gzip enhanced - modified files
WP Super Cache gzip enhanced - diffs
Credit: Nick Georgakis and Reiner Saddey
If you liked this post, please subscribe to my feed. Thanks for visiting!

