WordPress object cache with memcached backend is mainly meant for WPMU and doesn’t work well if you happened to have many vanilla WordPress installations using the same memcached backend like it is pointed out here and here.
I have created a simple patch which you can apply against object-cache.php (downloadable from WordPress plugin repository) or here is the file already patched. The patch prepends the
$blog_id to the object key. You will have to specify global variable
wp-config.php and give it a unique id (like your blog url).
[sourcecode language=’php’]global $blog_id;
$blog_id = ‘mohanjith_net’;[/sourcecode]
If you enjoyed this post, make sure you subscribe to my RSS feed!
4 thoughts on “WordPress object cache with memcached backend for vanilla WordPress”
Memcached for WPMU is great. And mod for the same to use with simple wordpress is even better. If you dont have memcached, you could tryout the file based object cache for wordpress.
Your patch file is missing.
@RC thanks for pointing out. It was an issue with CDN tools.