How To Fix WP-Cache And Spam Karma 2 (SK2) Issues
WP-Cache and Spam Karma 2 are two of the most popular WordPress plugins. If I had to estimate, I would say that at least 30% of WordPress users are using at least one, if not both of these plugins.
Recently there has been a problem with WP-Cache not flushing its cache when a new comment has been left. Priv has worked out the issue is because SK2 intercepts certain actions, so WP-Cache doesn’t know that it needs to clear its cache.
Luckily Priv has put together a fix. All you have to do is the following:
- Download this zip
- Extract and drop the php into the sk2_plugins directory
- Flush The WP-Cache2 cache. Note: The latest versions of WP-Cache needs to be installed first and the old cache deleted, before this patch will work.
I’m so glad I found this fix as I can now get my WP-Cache/APC caching combo going again so that I get the best of both types of caching. I’d previously turned WP-Cache off because the problems with the cache not flushing was causing people to leave 2 comments.
I recommend that all WordPress users implement this fix, as well as using my guide to add APC as well, as it will significantly speed up your page loading speeds, even if WP-Cache keeps updating because your site is receiving a lot of comments.
Bookmark & Share
Related Posts
- Eliminate Wordpress Comment Spam Without A Plugin!
- Ultimate Wordpress Site Speed - Install WP-Cache2 AND APC At The Same Time
- Wordpress Plugins NOT To Install
- Subscribe To Comments 2.1 Plugin Released
- Guide To Reducing WordPress Trackback Spam And Comment Spam
- I Need Help With Spam Karma
- I Need Wordpress MySQL Help, And I’m Willing To Pay



Comment by Everton on 1 February 2007:
Testing if it works
Comment by Everton on 1 February 2007:
testing again - helps if I put the file in the right place
Comment by Everton on 1 February 2007:
cool it works
Pingback by WordPress Wednesday: Custom Fields Contest and Lots of WordPress.com News at The Blog Herald on 7 February 2007:
[...] Karma and WP-Cache Fix: Connected Internet recently found a fix for the problem of WP-Cache not flushing the cache due to an issue with Spam Karma. The fix [...]
Trackback by Ajay - On the Road called Life! on 17 February 2007:
Making SK2 and WP-Cache play together…
I noticed today that WP-Cache wasn’t cleaning the cache whenever a new comment was posted.
I remembered that Everton had the same problem earlier and he had found a solution to it.
This didn’t seem to be an isolated case and it can be pinne…
Comment by Dallas on 6 May 2007:
It looks like this download URL has been changed to http://priv.dreamhosters.com/wp-things/sk2_wp_cache_plugin.zip
Comment by Lee on 14 May 2007:
This plugin is very much appreciated. Thanks!
I just upgraded to Spam Karma 2.3 RC1 and it appears that Dave’s code is now compatible with WP-Cache.
Comment by jim on 31 January 2008:
This is a test post to see if a comment appear immediately