Disable Magpie Cache in Wordpress

Using RSS in Wordpress can have a lot of benefits, however, there is also one major drawback. It will cause severe bloating of the Wordpress Options table, and if the Wordpress Options table is too large it will slow a blog down to a crawl.

To solve this problem you can clean out the RSS Hash entries using a plugin such as Clean Options. This plugin will also help you find and remove all those Orphaned records created by plugins that do not remove their own entries.

To stop Magpie from creating these entries in the future you can disable Magpie Cache by inserting the following into your Wordpress Theme function file.

define(’MAGPIE_CACHE_ON’, 0);

Related Posts


Saturday, January 17th, 2009
Written by: David Cooley


Posted in Programming

Tags: , , , ,


Subscribe to this post comments, without commenting


2 Responses to “Disable Magpie Cache in Wordpress”

  1. jidanni says:

    By “Wordpress theme function file” you probably mean wp-content/themes/default/functions.php . OK.

  2. Mittineague says:

    AFAIK the only real concern involved with disabling the Magpie RSS Cache is the slowdown/timeout risk inherent with needing to fetch remote data. Ironically, the more feeds you’re showing the faster the cache will build, but the more likely it is you should be caching. I think it’s a wise thing to periodically remove the old stale content, but leave the current fresher feed content in the cache.

Leave a Reply