Redis Object Cache Pro v1.25.6 Plugin

Redis Object Cache Pro by ObjectCache is a high-throughput, enterprise-grade object caching drop-in designed to reduce database server load and accelerate backend response times on WordPress. By intercepting repetitive SQL queries from wp_options, post metadata tables, and user sessions, the plugin stores pre-calculated query results in an in-memory Redis datastore. When visitors browse catalog pages or checkout on high-concurrency WooCommerce stores, WordPress fetches object records directly from RAM in microsecond intervals instead of repeatedly queuing expensive MySQL queries. This architecture drastically lowers server Time to First Byte (TTFB) and prevents database connection pool exhaustion under sudden traffic spikes.
While standard page caching solutions like WP Rocket or FlyingPress serve static HTML pages to anonymous visitors, dynamic user journeys—such as customer carts, custom member dashboards, and wp-admin operations—rely strictly on real-time database queries. Combining Redis Object Cache Pro with database cleanup plugins like Perfmatters delivers a multi-tiered performance stack where static pages are served instantly from cache, and dynamic requests bypass slow disk I/O. The plugin features native support for the high-speed Relay cache layer, PhpRedis C extensions, automatic cache prefetching, and detailed latency metrics directly inside the WordPress dashboard.
Core Features of Redis Object Cache Pro Plugin
- In-Memory Object Caching: Caches compiled database queries, transient options, and post objects directly in Redis memory to minimize MySQL thread overhead.
- PhpRedis and Relay Extension Support: Native compatibility with compiled PHP C-extensions (PhpRedis) and Relay for microsecond cache read and write latency.
- Smart Cache Prefetching: Anticipates upcoming object queries during request lifecycles and pre-loads cache batches to eliminate individual round-trip network delays.
- Alloptions Optimization: Intelligently shards and monitors oversized alloptions entries to prevent memory bloat and fatal PHP execution errors.
- Asynchronous Cache Flushing: Clears expired transients and purged cache groups in background worker processes without delaying user page requests.
- Advanced Data Compression: Supports Zstandard (ZSTD) and LZ4 compression algorithms to drastically decrease Redis memory footprints on large databases.
- TLS and Unix Socket Connections: Connects securely to standalone Redis servers, managed cloud instances (Redis Cloud, AWS ElastiCache), or local Unix sockets via encrypted TLS.
- Multi-Tenant Key Sharding: Isolate multiple WordPress sites on a single Redis database instance using unique key prefixes and database indexes.
- Deep WooCommerce Cache Tuning: Specifically configured to protect dynamic cart fragments, session keys, and order updates while accelerating catalog queries.
- WP-CLI Diagnostic Commands: Run administrative health checks, measure query latency, flush cache keys, and inspect memory allocation directly from terminal sessions.
- Dashboard Health and Latency Widget: Real-time visual metrics tracking cache hit rates, memory consumption, query timing, and Redis connection health.
- Automated Cache Groups Splitting: Automatically distinguishes between non-persistent, global, and persistent cache groups to avoid cache pollution.
- Strict Serialization Safety: Employs binary serialization protocols (including igbinary) to ensure complex PHP objects and arrays retain type safety.
- High Availability and Sentinel Support: Connects smoothly with Redis Sentinel and master-replica replication topologies for enterprise failover setups.
- Query Monitor Integration: Embeds diagnostic panels into Query Monitor displaying cache calls, misses, duplicate queries, and execution timings per page load.
- Automatic Drop-In Upgrades: Safely maintains and updates the custom wp-content/object-cache.php drop-in file during version transitions without manual file edits.
What’s New (Changelog) in Redis Object Cache Pro v1.25.6
v1.25.6 - July 28, 2026
Warn about using WP_REDIS_DISABLED in WP CLI
Hide configuration constant notice in WP CLI when unnecessary
Fixed metrics missing from aggregate and digest CLI watchers
Fixed malformed tags in health check actions
Fixed dashboard widget spacing and overflow
Fixed some commands from being routed to replicas when cluster_failover=distribute*
Similar Plugins
Download Redis Object Cache Pro Latest Version
How to Install and Safely Upgrade Redis Object Cache Pro
Step 1: Verify Redis Server and PHP Extension
Before activating the plugin, confirm that the Redis service is running on your server and that the php-redis extension is installed. You can verify this by checking Tools > Site Health > Info > Server or running php -m | grep redis in your terminal.
Step 2: Upload and Activate Redis Object Cache Pro
Download the latest zip from GPLAstra. In your WordPress dashboard, navigate to Plugins > Add New > Upload Plugin, choose the object-cache-pro.zip file, click Install Now, and then click Activate Plugin.
Step 3: Define WP_REDIS_CONFIG in wp-config.php
Open your site’s wp-config.php file and add your Redis connection parameters before the /* That's all, stop editing! */ line:
define( 'WP_REDIS_CONFIG', [
'token' => 'GPLAstra-Licensed',
'host' => '127.0.0.1',
'port' => 6379,
'database' => 0,
'timeout' => 1.0,
'read_timeout' => 1.0,
'retry_interval' => 100,
'retries' => 3,
'compression' => 'zstd',
'serializer' => 'igbinary',
'async_flush' => true,
'split_alloptions' => true,
'prefetch' => true,
'debug' => false,
'save_commands' => false,
] );
define( 'WP_REDIS_DISABLED', false );Step 4: Enable the Object Cache Drop-In
Navigate to Settings > Object Cache in your WordPress admin dashboard. Click Enable Object Cache. The plugin will automatically place the drop-in file into wp-content/object-cache.php and initialize the Redis connection.
Step 5: Safely Upgrading Without Cache Interruption
When updating to a newer release, download the updated archive from GPLAstra. Go to Plugins > Add New > Upload Plugin, select the new zip, and click Replace current with uploaded. The plugin automatically maintains and updates the wp-content/object-cache.php drop-in without requiring manual file replacement or flushing.
Frequently Asked Questions (FAQ)
Do I need an active Redis server installed on my hosting environment?
Yes. Redis Object Cache Pro requires an accessible Redis server (running locally on port 6379, via a Unix socket, or hosted on remote cloud instances like AWS ElastiCache or Redis Cloud) and the PHP Redis extension enabled on your server.
How is Redis Object Cache Pro different from standard page caching plugins?
Page caching plugins like WP Rocket store rendered HTML snapshots for static, logged-out requests. Redis Object Cache Pro accelerates database queries in RAM for dynamic requests, logged-in users, WooCommerce cart actions, and wp-admin operations that cannot be served from static HTML.
Where do I place the Redis configuration code?
The WP_REDIS_CONFIG array must be placed directly inside your root wp-config.php file above the require_once ABSPATH . 'wp-settings.php'; line so WordPress initializes the Redis parameters before bootstrapping the object cache.
Can I use Redis Object Cache Pro on multi-site or shared server environments?
Yes. For multi-site networks or servers hosting multiple WordPress installations on a shared Redis instance, configure distinct prefix values or assign different database numbers (e.g. database 1, 2, 3) in the WP_REDIS_CONFIG array to prevent cache collisions.
What should I do if my site shows an error after enabling object cache?
If Redis becomes unreachable or misconfigured, connect via SFTP or file manager and temporarily delete or rename the file wp-content/object-cache.php. WordPress will immediately revert to standard MySQL database queries without taking the site offline.