WP Redis
Back your WP Object Cache with Redis, a high-performance in-memory storage backend.
Use with caution
WP Redis works, but test it on a staging site before relying on it in 2026. It runs on 8K+ sites, is rated 4.7/5 and was last updated 12 months ago, and scores 60/100 on our health check.
- Loved by users — 4.7/5 from 20 reviews
- Only tested up to WordPress 6.9 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where WP Redis stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| cache | >100 |
| object cache | #41 |
| redis | #3 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 4.7 from 20 reviews
About WP Redis
From the official readme · v1.4.7Description
For sites concerned with high traffic, speed for logged-in users, or dynamic pageloads, a high-speed and persistent object cache is a must. You also need something that can scale across multiple instances of your application, so using local file caches or APC are out.
Redis is a great answer, and one we bundle on the Pantheon platform. This is our plugin for integrating with the cache, but you can use it on any self-hosted WordPress site if you have Redis. Install from WordPress.org or Github.
It’s important to note that a persistent object cache isn’t a panacea – a page load with 2,000 Redis calls can be 2 full seconds of object cache transactions. Make sure you use the object cache wisely: keep to a sensible number of keys, don’t store a huge amount of data on each key, and avoid stampeding frontend writes and deletes.
Go forth and make awesome! And, once you’ve built something great, send us feature requests (or bug reports). Take a look at the wiki for useful code snippets and other tips.
WP-CLI Commands
This plugin implements a variety of WP-CLI commands. All commands are grouped into the wp redis namespace.
$ wp help redis
NAME
wp redis
SYNOPSIS
wp redis <command>
SUBCOMMANDS
cli Launch redis-cli using Redis configuration for WordPress
debug Debug object cache hit / miss ratio for any page URL.
enable Enable WP Redis by creating the symlink for object-cache.php
info Provide details on the Redis connection.
Use wp help redis <command> to learn more about each command.
Contributing
See CONTRIBUTING.md for information on contributing.
Installation
This assumes you have a PHP environment with the required PhpRedis extension and a working Redis server (e.g. Pantheon). WP Redis also works with Predis via humanmade/wp-redis-predis-client.
- Install
object-cache.phptowp-content/object-cache.phpwith a symlink or by copying the file. -
If you’re not running on Pantheon, edit wp-config.php to add your cache credentials, e.g.:
$redis_server = array( 'host' => '127.0.0.1', 'port' => 6379, 'auth' => '12345', // ['user', 'password'] if you use Redis ACL 'database' => 0, // Optionally use a specific numeric Redis database. Default is 0. ); -
If your Redis server is listening through a socket file instead, set its path on
hostparameter and change the port tonull:$redis_server = array( 'host' => '/path/of/redis/socket-file.sock', 'port' => null, 'auth' => '12345', 'database' => 0, // Optionally use a specific numeric Redis database. Default is 0. ); -
Engage thrusters: you are now backing WP’s Object Cache with Redis.
- (Optional) To use the
wp redisWP-CLI commands, activate the WP Redis plugin. No activation is necessary if you’re solely using the object cache drop-in. - (Optional) To use the same Redis server with multiple, discreet WordPress installs, you can use the
WP_CACHE_KEY_SALTconstant to define a unique salt for each install. - (Optional) To use true cache groups, with the ability to delete all keys for a given group, register groups with
wp_cache_add_redis_hash_groups(), or define theWP_REDIS_USE_CACHE_GROUPSconstant totrueto enable with all groups. However, when enabled, the expiration value is not respected because expiration on group keys isn’t a feature supported by Redis. - (Optional) On an existing site previously using WordPress’ transient cache, use WP-CLI to delete all (
%_transient_%) transients from the options table:wp transient delete-all. WP Redis assumes responsibility for the transient cache. - (Optional) To use Relay instead of PhpRedis as the client define the
WP_REDIS_USE_RELAYconstant totrue. For support requests, please use Relay’s GitHub discussions.
Changelog
WP Redis 1.4.0 adds support for the flush_runtime and flush_group functions. If you've copied object-cache.php and made your own changes, be sure to copy these additions over as well.
1.4.7 (December 2, 2025)
- WordPress 6.9 compatibility [#524]
1.4.6 (June 17, 2025)
- PHP 8.4 compatibility
1.4.5 (January 21, 2024)
- Support Relay in check_client_dependencies() with the WP_REDIS_USE_RELAY constant [#471]
1.4.4 (November 27, 2023)
- Updates Pantheon WP Coding Standards to 2.0 [#445]
- Handle duplicate keys in
get_multiplefunction [#448] (props @souptik)
1.4.3 (June 26, 2023)
- Bug fix: Fixes assumption that CACHE_PORT & CACHE_PASSWORD are Set. [428] (props @tnolte)
- Adds WP.org validation GitHub action [#435]
- Bug fix: Fixes incorrect order of
array_replace_recursiveand other issues [434] (props @timnolte) - Bug fix: Replace use of wp_strip_all_tags in object-cache.php [434] (props @timnolte)
- Bug fix: Don’t strip tags from the cache password. [434] (props @timnolte)
1.4.2 (May 15, 2023)
- Bug fix: Removes exception loop caused by
esc_htmlin_exception_handler()[421]
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best WP Redis alternatives
All cache plugins →FAQ
WP Redis: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is WP Redis free?
Yes. WP Redis is free to download and use from the official WordPress.org plugin directory.
Is WP Redis safe to use in 2026?
WP Redis works, but test it on a staging site before relying on it in 2026. It runs on 8K+ sites, is rated 4.7/5 and was last updated 12 months ago, and scores 60/100 on our health check.
How many websites use WP Redis?
WP Redis is active on 8K+ WordPress websites and has been downloaded 1,069,410 times since it launched in September 2014. It was downloaded 19,109 times in the last 30 days.
Does WP Redis work with WordPress 7.1?
WP Redis is officially tested up to WordPress 6.9.12, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does WP Redis need?
WP Redis requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was WP Redis last updated?
The latest version, 1.4.7, was released on December 11, 2025 (12 months ago).
Who makes WP Redis?
WP Redis is developed and maintained by Pantheon Systems.
What are the best alternatives to WP Redis?
The most popular alternatives to WP Redis are WP Super Cache (1M+ installs), WP Fastest Cache (1M+ installs) and WP-Optimize (1M+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
