Skip to content

A persistent object cache backend for WordPress powered by Redis. Supports Predis, PhpRedis, Relay, replication, sentinels, clustering and WP-CLI.

License

Notifications You must be signed in to change notification settings

rhubarbgroup/redis-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c76dcf8 · May 31, 2020
Oct 19, 2019
Nov 13, 2016
May 31, 2020
Nov 7, 2016
Nov 24, 2019
Nov 18, 2016
Nov 26, 2019
Nov 26, 2019
Nov 19, 2018
Nov 24, 2019
May 31, 2020
Jun 15, 2017
May 30, 2020
Nov 24, 2019
Nov 24, 2019
May 30, 2020
May 31, 2020
Nov 18, 2016

Repository files navigation

Redis Object Cache for WordPress

A persistent object cache backend powered by Redis. Supports Predis, PhpRedis (PECL), HHVM, replication, clustering and WP-CLI.

Forked from Eric Mann's and Erick Hitter's Redis Object Cache.

Redis Cache Pro

A business class Redis object cache backend. Truly reliable, highly optimized, fully customizable and with a dedicated engineer when you most need it.

  • Rewritten for raw performance
  • WordPress object cache API compliant
  • Easy debugging & logging
  • Cache analytics and preloading
  • Fully unit tested (100% code coverage)
  • Secure connections with TLS
  • Health checks via WordPress, WP CLI & Debug Bar
  • Optimized for WooCommerce, Jetpack & Yoast SEO

Learn more about Redis Cache Pro.

Installation

For detailed installation instructions, please see the installation wiki page.

Connection Parameters

By default the object cache drop-in will connect to Redis over TCP at 127.0.0.1:6379 and select database 0.

To adjust the connection parameters, client, timeouts and intervals, please see the connection parameters wiki page.

Configuration Options

The plugin comes with quite a few configuration options, such as key prefixes, a maximum time-to-live for keys, ignored group and many more.

Please see the configuration options wiki page for a full list.

Replication & Clustering

To use Replication, Sharding or Clustering, make sure your server is running PHP7 or higher (HHVM is not supported) and you consulted the Predis or PhpRedis documentation.

Please see the replication & clustering wiki page for more information.

WP-CLI Commands

To see a list of all available WP-CLI commands, please see the WP CLI commands wiki page.