WordPress Object Cache using Redis.
Clone or download
Matthew Boynes
Matthew Boynes Merge pull request #6 from alleyinteractive/get-by-force
Add missing support for 'force' option in get()
Latest commit 59987f4 May 26, 2014

README.md

WP Redis

WordPress Object Cache using Redis. By Alley Interactive.

Pre-requisites

Setup

  1. Install object-cache.php to the wp-content/object-cache.php.

  2. In your wp-config.php file, add your server credentials:

     $redis_server = array( 'host' => '127.0.0.1', 'port' => 6379, 'auth' => '12345' );
    
  3. Optionally, add a unique salt for the keys:

     define( 'WP_CACHE_KEY_SALT', 'my-unique-phrase' );
    
  4. Engage thrusters.