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.

Related Posts

Filed Under: Tools & Tips

Tags:

Bookmark & Share

About the Author: 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 8 News, Windows 8 News and One Tip A Day.

RSSComments (6)

Leave a Reply | Trackback URL

  1. Everton says:

    Testing if it works ;-)

  2. Everton says:

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

  3. Everton says:

    cool it works :-)

  4. Lee says:

    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.

  5. jim says:

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

Trackbacks/Pingbacks

  1. WordPress Wednesday: Custom Fields Contest and Lots of WordPress.com News at The Blog Herald
  2. Ajay - On the Road called Life!

Subscribe without commenting

Leave a Reply

CommentLuv Enabled
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.