Skip to content
Shane Rounce edited this page Nov 30, 2026 · 14 revisions

Welcome to the Ace-Redis-Cache wiki!

Ace Redis Cache

WordPress, answered from memory.

A free Redis page cache and object cache for WordPress.
No paid tier, no upsell. It is my way of giving back.

Install · Configure · Troubleshoot · FAQ · Website


I wrote Ace Redis Cache for the sites I run, and I maintain it myself. This wiki is the manual: what each part does, how to set it up, and what to check when a page will not cache.

One plugin, two caches, three ways a page comes back

What the visitor gets What it costs you
Hit The stored page, straight from Redis Almost nothing. With early serve on, WordPress never boots.
Stale The stored page, at once, while a new copy is built behind the scenes One background render, however many visitors arrive
Miss A freshly rendered page, which is then stored One full render, helped by the object cache

Read more: Page cache and Object cache.

Where it parts company with other page caches

Signed-in visitors get cached pages too Each visitor group shares its own stored copy, with the toolbar rendered fresh and every nonce replaced for the person viewing
Stale pages are served while they refresh An edit refreshes pages rather than wiping them, so nobody queues behind a rebuild
Drop-ins that step aside If Redis cannot be reached, the page renders normally. A cache fault should never become a white screen.
At home on managed Redis TLS, Valkey, Redis Sentinel, and managed cluster-mode services such as ElastiCache Serverless

Also in the box: live blocks, a block cache, WooCommerce guards, Varnish support, multisite, WP-CLI commands, Site Health tests and no telemetry. Optional layers stay off until you enable them.


Quick start

  1. Install the PHP Redis extension and have a Redis or Valkey server your web server can reach.
  2. Install and activate the plugin.
  3. Open Settings > Ace Redis Cache, enter the connection details and test them on the Diagnostics tab.
  4. Tick Enable Cache and choose what to cache on the Caching tab.
  5. Add this to wp-config.php:
define( 'WP_CACHE', true );
  1. Load a page twice while signed out. The second response should carry X-AceRedisCache: HIT.

The full walk-through is on Installation.

A click through the four tabs of the settings screen, ending on a passed connection test


Important notes (read this)

Some things people run into are how the plugin is meant to behave, not faults.

  • You need a Redis server. The plugin does not come with one. If your host has no Redis or Valkey, see Requirements and hosting.
  • A fresh install caches nothing. Caching is off until you tick Enable Cache.
  • The page cache needs WordPress 6.9 or later. On older versions pages render live and only the object and transient caches work.
  • Signed-in visitors get live pages unless you turn on the logged-in page cache.
  • A page that never says HIT has a reason, and the X-AceRedisCache header gives it. See Troubleshooting.

What Ace Redis Cache is (and is not)

It is:

  • A page cache and an object cache that share one Redis
  • Built for sites where content changes often and traffic arrives in bursts
  • Careful about what it stores: private, protected, empty and half-rendered pages are refused

It is not:

  • A Redis server or a hosting service
  • A CDN
  • An image optimiser or a script bundler

Shaped by very busy weekends

In production for four years, across client sites that handle hundreds of millions of hits over single busy weekends. More on Tested at scale.


Wiki structure

Setting up

The caches

Your stack

Reference

Help

Clone this wiki locally