Bad Behavior + Wp-cache + Gzip Solution
So while installing some nice spam protection, I came across some interesting conflicts between.
1. Bad Behavior (The spam filter plugin)
2. WP-Cache (The Speed the site up plugin)
3. GZIP (The zip the page and server it to you faster feature built into Wordpress).
Basically wp-cache doesn’t work with gzip and bad behavior doesn’t work with wp-cache.. how to fix this?
1st: Go out and download the newest versions of both wp-cache 2 & Bad Behavior
2nd: Turn off gzip in the options.
3rd: Edit: wp-cache-phase1.php
Add This line:
if ( extension_loaded(’zlib’) ) ob_start(’ob_gzhandler’);
Before this:
foreach ($meta->headers as $header) {
header($header);
4th: Edit: /wp-content/advanced-cache.php
Add:
if ( extension_loaded(’zlib’) ) ob_start(’ob_gzhandler’);
Before this:
foreach ($meta->headers as $header) {
Now everything shouldu play together nice. Your site should BLAZE and be protected.
Enjoy :)

Chris Stormer
09 Jul 2006
Nick Georgakis
22 Oct 2006
Ajay D'Souza
29 Oct 2006
Chris Stormer
28 Nov 2006
Ajay
07 Feb 2007
pufone
26 Jul 2007
ivan
17 Aug 2007
Beta3
13 Oct 2007