Batcache with memcache backend
-
I’ve been trying to configure my WordPress site to use Batcache along with Memcached object-cache.php drop-in, but so far without luck. To elaborate a bit:
1. I’ve used a clean 3.9.1 installation
2. installed Memcached plugin [ww.wp.xz.cn/plugins/memcached/], copied object-cache.php to wp-content/ directory, and setdefine('WP_CACHE', true);in wp-config.php
3. installed Batcache plugin [ww.wp.xz.cn/plugins/batcache/], copied advanced-cache.php to wp-content/Net result is, the site fails to load with
Notice: Undefined offset: 1 in /path/to/site/wp-content/object-cache.php on line 374for users that aren’t logged in.When I try to use the newer Memcached Redux plugin [ww.wp.xz.cn/plugins/memcached-redux/], site fails to load with
Fatal error: Call to undefined function wp_cache_init() in /path/to/site/wp-content/advanced-cache.php on line 203, again only for anonymous users.The only other object-cache plugin I’ve tried that didn’t break the site is the Xcache object backend plugin [ww.wp.xz.cn/plugins/xcache/], but I’d really prefer using Memcache due to multi-server environment I’m using. For what it’s worth, these two seem to be working well together, I get Batcache’s stats before
</head>and everything.Is there something I’m forgetting, or is there currently no way of using Batcache with Memcache caching backend? Is there a current ‘best’ practice to exploit Memcache?
The topic ‘Batcache with memcache backend’ is closed to new replies.