Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Latest commit

 

History

History
27 lines (14 loc) · 646 Bytes

README.md

File metadata and controls

27 lines (14 loc) · 646 Bytes

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.