Batcache, Wordpress and nginx?!
barry at automattic.com
Tue Apr 14 20:03:44 MSD 2009
On Apr 14, 2009, at 2:45 AM, Robert Gabriel wrote:
> Im using Wordpress for my blog and its running on a Xen VPS with nginx
> 0.7.51, php-fpm and the lastest memcache daemon with memcache
> in php. Everything works fine, but I would like to speed up the blog
> I heard that the best idea is Batcache.
> I installed batcache, everything fine, but it doesnt cache anything,
> nothing goes to memcache.
> Is there any rewrite rules need it for batcache to work?!
No rewrite rules are needed for batcache to work. Are you sure your
object-caching is working correctly in your WordPress environment?
Sounds like either a configuration error (memcached servers array
defined incorrectly or possible firewall rules blocking access). Are
you using the PECL memcache client or the pure-php implementation?
Are you seeing any php errors in your logs? For testing you can set
var $seconds to 0 so the pages get cached immediately.
> Does anyone how come really good example or explanation how to set it
The instructions in the readme are pretty straightforward:
Barry Abrahamson | Systems Wrangler | Automattic
More information about the nginx