Overview
A WordPress object cache backend that implements all available methods using Redis and the Predis library for PHP.
Authors
- Eric Mann
Installation
- Install and configure Redis. There is a good tutorial (here)[http://www.saltwebsites.com/2012/install-redis-245-service-centos-6].
- Install Predis (included in this repository as a submodule) in the
/wp-content/predis
directory, since that's where the object cache expects it to reside. - Add object-cache.php to the wp-content directory. It is a drop-in file, not a plugin, so it belongs in the wp-content directory, not the plugins directory.
- By default, the script will connect to Redis at 127.0.0.1:6379.