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:

  1. Download this zip
  2. Extract and drop the php into the sk2_plugins directory
  3. 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

About the Author

author photo

Everton is based in London and has worked in the internet and mobile space for over ten years now, and before that worked in corporate strategy and consulting. He has a degree in Economics from Cambridge University, and currently runs the Portal and online operations for one of the largest ISPs in the UK. He also writes for Windows 7 News.

See All Posts by This Author

There Are 8 Responses So Far. »

  1. #1

    Testing if it works ;-)

  2. #2

    testing again - helps if I put the file in the right place :-(

  3. #3

    cool it works :-)

  4. #4

    [...] 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 [...]

  5. #5

    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…

  6. #6

    It looks like this download URL has been changed to http://priv.dreamhosters.com/wp-things/sk2_wp_cache_plugin.zip

  7. #7

    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.

  8. #8

    This is a test post to see if a comment appear immediately

Subscribe without commenting

Post a Response


Comment Policy: Any comments are permitted only because the site owner is letting you post, and any comments could be removed for any reason at the absolute discretion of the site owner.