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

FAQ

The basics

What does it do?

It keeps finished pages and WordPress's object cache in Redis, so most requests are answered without rebuilding the page or re-running the queries behind it.

Do I need Redis?

I recommend Redis. It is the default, survives PHP restarts and can be shared by several web servers. On a single-server site without Redis, you can select APCu on the Connection tab. Its cache empties when PHP restarts. See Requirements and hosting.

Does it work with Valkey?

Yes.

Does it work on managed services?

Yes, including Amazon ElastiCache, with TLS, and on managed cluster-mode and serverless endpoints.

Does it work with Redis Sentinel?

Yes, from 0.10.8. Enter your sentinels and the service name on the Connection tab. The plugin asks them for the current primary each time it connects, so after a failover the next request finds the new one. See Requirements and hosting.

Does it work with Redis Cluster?

Yes. For a self-managed cluster, enter one or more seed nodes on the Connection tab and use database 0. For a managed service with one endpoint, enter that endpoint as the Redis host. See Redis Cluster.

Does it cost anything?

No. It is GPLv2 or later. There is no premium version, no licence key and no feature held back.

Does it send data anywhere?

It connects to the Redis server you configure and to your own site when warming pages. If you use the Varnish or Cloudflare integrations, it also sends the relevant purge requests there. There is no telemetry.

Who makes it?

I do: Shane Rounce, at AceMedia. I wrote it for the sites I run and I maintain it.

Is it tested on real traffic?

Yes. The caching behind it has been in production for four years, and it has answered more than 5.6 billion cache hits from Redis across the sites running it. See Tested at scale.

Setting up

I activated it and nothing is cached. Why?

A fresh install starts with caching off, on purpose. Set up the back end on the Connection tab, tick Enable Cache, choose the cache types and add WP_CACHE to wp-config.php. See Installation.

Do I have to copy the drop-ins myself?

No. The plugin installs and updates them when you save the settings. You only copy them yourself when your deploy rebuilds wp-content from version control. See Drop-ins.

Can I copy my settings to another site?

Yes. Export them as a JSON file from the Diagnostics tab or with wp aceredis settings export, and import them on the other site. The Redis password is left out unless you ask for it. See Configuration reference.

Does it report to Site Health?

Yes. Tools > Site Health has four tests, and the Info tab lists the plugin's settings without the password. See Configuration reference.

Can I use just the page cache, or just the object cache?

Yes. Each has its own switch.

Can I use it with another caching plugin?

Run one page cache and one object cache per site. Two page caches store each other's output, and two plugins cannot both own object-cache.php. Ace Redis Cache will not overwrite a drop-in that belongs to something else, so turn the other off first.

Which PHP versions are supported?

PHP 7.4 is the oldest. The newest release, PHP 8.6, is supported too, and so is everything in between. See Requirements and hosting.

Which WordPress version do I need?

5.0 or later for the object and transient caches, 6.5 for the block cache and 6.9 for the page cache.

Which settings should I start with?

Page Cache, Object Cache and Transient Cache on, everything else at its default. Add early serve once the X-Ace-Early header shows hits. Turn on the block cache if your pages have product grids or query loops. Leave minification, compression and browser cache headers until the rest is settled.

How it behaves

Are logged-in users cached?

Not by default. Signed-in visitors get live pages. You can turn on the logged-in page cache, which gives each group its own copy and swaps in each visitor's toolbar and security tokens.

Can it keep pages warm by itself?

Yes. Switch on Keep pages warm under Caching > Cache warming. It checks a batch of URLs each run and queues missing pages for the background refresher. The warmer is off by default. See Purging and refresh.

What happens when I publish or edit a post?

The post's page and the listings that show it are refreshed in the background. Visitors keep getting the stored copy until the new one is ready. See Purging and refresh.

What does clearing a URL remove?

Clearing a clean path removes that page and its recorded query-string variants. Clearing a URL with a meaningful query string removes that exact variant. Tracking parameters are ignored.

Do campaign links get their own cached copy?

No. Tracking parameters such as utm_source, gclid and fbclid are dropped from the cache key, so a campaign link is served the same stored page as the clean URL.

Do mobile and desktop share a copy?

No. Each has its own, so themes that send different markup to phones work.

Is the REST API cached?

No. REST responses are never stored as pages.

What if Redis goes down?

Pages render live and the object cache falls back to memory for each request. The site is slower but it stays up. Timeouts are short, so a slow Redis cannot hold PHP workers.

If something was deleted or flushed while Redis was away, the first request that reconnects flushes this site's keys once, so nothing stale comes back.

What if the PHP Redis extension is missing?

Nothing breaks. Every request is served uncached, and the cache cannot be switched on until a connection test passes.

Why was a page not cached?

The X-AceRedisCache response header says, for example BYPASS; reason=logged_in or MISS; reason=empty_main. Every reason is listed on Response headers.

How do I switch everything off in an emergency?

Add define( 'ACEREDIS_DISABLED', true ); to wp-config.php. The plugin and both drop-ins stand aside until you remove the line.

What happens to the drop-ins when I deactivate the plugin?

The plugin removes its own object-cache.php and advanced-cache.php, and never a drop-in that belongs to something else. Activating again puts them back.

Does a cached page answer conditional requests?

Yes. Each hit carries an ETag, and a request that sends it back gets 304 Not Modified with no body.

Can I keep part of a page live?

Yes. List the block under Block Exclusions and treat excluded blocks as dynamic. The rest of the page is cached and that block is rendered on each hit. See Page cache.

Does it minify CSS and JavaScript files?

No. Minification applies to the HTML of a page as it is stored. It does not bundle or rewrite asset files.

Does it work with WooCommerce?

Yes. Basket, checkout and account pages are never cached, and anyone with something in their basket gets live pages. See WooCommerce.

Does it work on multisite?

Yes. Network activate it for one set of settings across the network. See Multisite.

Does it work behind Varnish or a CDN?

Yes. Purges are mirrored to Varnish for you, with settings for the servers, a test and a flush. For a CDN there are cache tag headers and hooks. See Varnish and CDNs.

Does the plugin clear Cloudflare's cache?

Only if you ask it to. Switch the Cloudflare integration on and give it your zone ID and an API token, and the pages the plugin invalidates are purged at Cloudflare too. A full clear purges your host name only, never the whole zone. Nothing is sent to Cloudflare while it is off.

Can I purge my CDN or proxy by tag?

Yes. Turn on Cache tag headers and every cached page carries Cache-Tag and Surrogate-Key headers. When a post changes, the aceredis_cache_tags_invalidated action hands you the tags to purge.

My Redis needs a username, a socket or a different database. How do I set that?

On the Connection tab. The plugin tests the connection on save and says which part failed if it cannot connect. If you use the page cache, add the matching constants to wp-config.php too: the settings screen lists the exact lines.

Why does clearing OPcache from the command line not change my site?

PHP on the command line has its own OPcache. wp aceredis opcache flush and warm send a signed request to your own site so the web server does the work. Turn on OPcache Helpers first.

Can AI agents manage the cache?

On WordPress 6.9 and later the plugin registers five abilities for cache status, the object cache preference, flushing, purging and refreshing. Setting the preference takes a boolean and leaves drop-in management to its own controls. They are not offered to AI agents unless you add a filter to allow it, and each request must still come from a user who may manage the cache. See Configuration reference.

For developers

How do I purge or refresh from my own plugin?

if ( function_exists( 'aceredis_refresh_urls' ) ) {
	aceredis_refresh_urls( array( get_permalink( $post_id ) ) );
}

Use a refresh when you know which pages changed. Use aceredis_soft_purge_page_cache() when the whole site did. See Purging and refresh, and the worked Hook examples.

How do I stop one page being cached?

Define DONOTCACHEPAGE while rendering it, or add its path with the aceredis_cache_excluded_urls filter.

Why does my cached value disappear?

The object cache refuses values over 64 KB, only stores certain groups in Redis, and caps every lifetime at a day by default. To keep a group of your own in Redis, call aceredis_add_persistent_groups(). See Object cache.

Were the names different before?

Yes. Before 0.10.0, constants began ACE_REDIS_, ACE_OC_ or ACE_RC_, hooks began ace_redis_ or ace_rc_, and the commands were wp ace .... Everything now uses the single aceredis prefix. If you are following an older note, translate the names.

Where is the changelog?

In readme.txt in the repository. See Changelog.

How do I report a bug?

See Reporting problems.

Clone this wiki locally