WP Manifestindependent plugin directory
manifest / performance / wp-drop-in-redis-object-cache

Redis Object Cache Drop-In

Provides a high-performance persistent object cache for WordPress using Redis.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/newfold-labs/wp-drop-in-redis-object-cache/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

<img src="https://newfold.com/content/experience-fragments/newfold/site-header/master/_jcr_content/root/header/logo.coreimg.svg/1621395071423/newfold-digital.svg" alt="Newfold Logo" title="Newfold Digital" align="right" height="42" />

WordPress Redis Object Cache Drop-In

A persistent object cache drop-in for WordPress powered by Redis. Replaces the default in-memory object cache with a Redis-backed implementation for improved performance across page loads.

Features

  • Supports PhpRedis, Predis, and Credis client libraries
  • Redis Cluster, Sentinel, Replication, and Sharding support
  • Selective flush via key prefix (WP_REDIS_PREFIX)
  • Per-group flush and unflushable groups
  • Batch operations (add_multiple, set_multiple, get_multiple, delete_multiple)
  • Optional igbinary serialization
  • Graceful fallback to in-memory cache on connection failure

Requirements

  • WordPress 5.0+
  • PHP 7.2+
  • Redis server
  • A supported Redis client library (PhpRedis extension, Predis, or Credis)

Installation

Place object-cache.php in your WordPress wp-content/ directory.

License

GPL-3.0-or-later