Object Cache Pro – Recommended Configuration:
[message_box bg=”#hex or http://imageurl”]
define(‘WP_REDIS_CONFIG’, [
‘token’ => ‘e279430effe043b8c17d3f3c751c4c0846bc70c97f0eaaea766b4079001c’,
‘host’ => ‘127.0.0.1’,
‘port’ => 6379,
‘database’ => 0, // change for each site
‘maxttl’ => 3600 * 24 * 7, // 7 days
‘timeout’ => 1.0,
‘read_timeout’ => 1.0,
‘prefetch’ => true,
‘split_alloptions’ => true,
‘strict’ => true,
‘debug’ => false,
]);
define(‘WP_REDIS_DISABLED’, false);
[/message_box]
High Performance Configuration (For expert users only.)
[message_box bg=”#hex or http://imageurl”]
define(‘WP_REDIS_CONFIG’, [
‘token’ => ‘e279430effe043b8c17d3f3c751c4c0846bc70c97f0eaaea766b4079001c’,
‘host’ => ‘127.0.0.1’,
‘port’ => 6379,
‘database’ => 1, // change for each site
‘timeout’ => 0.5,
‘read_timeout’ => 0.5,
‘retry_interval’ => 10,
‘maxttl’ => 3600 * 24,
‘retries’ => 3,
‘backoff’ => ‘smart’,
‘compression’ => ‘zstd’, // `zstd` compresses smaller, `lz4` compresses faster
‘serializer’ => ‘igbinary’,
‘async_flush’ => true,
‘split_alloptions’ => true,
‘prefetch’ => true,
‘shared’ => true,
‘strict’ => true,
‘debug’ => false,
‘save_commands’ => false,
]);
define(‘WP_REDIS_DISABLED’, getenv(‘WP_REDIS_DISABLED’) ?: false);
[/message_box]
Recommended if you have a large number of visitors or queries.
For “High Performance configuration” setting; redis and redisphp need to be specially compiled. It needs to be compiled with igbinary and zstd.


Introduce Object Cache Pro:
Redis Object Cache is a business-class backend for WordPress, offering unparalleled reliability, optimization, and full customization. It ensures a highly reliable performance, and you have access to a dedicated engineer for optimal support when needed.
Main Feature Object Cache Pro:
- Rewritten for raw performance
- WordPress object cache API compliant
- Easy debugging & logging
- Cache prefetching and analytics
- Fully unit tested (100% code coverage)
- Secure connections with TLS
- Health checks via WordPress & WP CLI
- Optimized for WooCommerce, Jetpack & Yoast SEO









Reviews
There are no reviews yet.