WP Redis
Back your WP Object Cache with Redis, a high-performance in-memory storage backend.
Utiliser avec prudence
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.
- Aimé par les utilisateurs — 4,7/5 sur 20 avis
- Uniquement testé jusqu'à WordPress 6,9 (le dernier est de 7,1)
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where WP Redis stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| cachette | >100 |
| object cache | #41 |
| redis | #3 |
Adoption de version
Part de sites actifs par version.
Répartition des notes
★★★★★★★★★★ 4.7 from 20 reviews
About WP Redis
À partir du Lisezmoi officiel · 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.
Journal de modifications
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]
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best WP Redis alternatives
Tous les plugins de cache →FAQ
WP Redis: quick answers
Réponses directes, extraites des données en direct WordPress.org.
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).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
