/wp-redis

WordPress Object Cache using Redis.

Primary LanguagePHPGNU General Public License v2.0GPL-2.0

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.