Object Cache

WordPress has built-in object caching but, object cache is non-persistent by default. This means that data stored in the cache resides in memory only and only for the duration of the request. Powered Cache comes with three different object cache backend to saving persistent.


Requirements: A memcached server and the PECL memcache extension.

Memcache Backend uses as default memcached server. If you want to use different server, small modification needed. 

Add something similar to the following to wp-config.php

$memcached_servers = array( 'default' => array( '', '' ) );

if you want to separate caching by group try something like;

$memcached_servers = array( 'default' => array( '', '' ), 'options' => array('');


Same configuration with Memcache, only difference is, it uses "Memcached" extension of PHP not Memcache.


Requirements: Redis server and  phpredis extension.

edit wp-config.php to add your redis credentials (authentication is turned off by default, you can add 'auth' key and value if needed) 

$redis_server = array( 'host' => '', 'port' => 6379, 'database' => 0 );

For more detail about object caching: https://codex.wordpress.org/Class_Reference/WP_Object_Cache