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
Written by: David Cooley - January 17th, 2009
Posted in Programming
Tags: MagpieRSS, RSS Cache, Wordpress, Wordpress Options, Wordpress Plugin







By “Wordpress theme function file” you probably mean wp-content/themes/default/functions.php . OK.
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.
thanks mate, this really helped a lot!
I was going crazy because I could not figure out why my rss-imported facebook status would not update.
actually I had this in one plugin, which is why -
//define('MAGPIE_CACHE_ON', false); // Cache off
define('MAGPIE_CACHE_AGE', '60*60'); // in sec, one hour