Invite-only beta · 9 free places left · Managed hosting on AWS

AceMedia HostTalk to us

CACHING · REDIS · WORDPRESS

How every WordPress site on Ace Host is cached

Each WordPress site we host answers most visitors from memory, using Ace Redis Cache. Here is how I set it up, what it means for speed and stability, and how to check it yourself.

A hosting plan can promise fast WordPress, but the speed a visitor feels is decided by one thing: how many requests reach PHP and the database. On Ace Host the aim is that most never do. Every WordPress site here runs Ace Redis Cache (ARC), the free page and object cache I write with Ben McKenna of Totaal. The plugin now has its own site, so this is a good moment to show the hosting side: the setup I repeat on each site, and the checks I run after it.

The setup on each site

PieceWhere it livesWhat it does
Page cache drop-inadvanced-cache.phpReturns a stored page from Redis before WordPress loads
Object cache drop-inobject-cache.phpKeeps WordPress objects and transients in Redis between requests
RedisOn the server, in memoryHolds the pages and objects, with each site kept to its own database
Settingswp-config.phpConnection details and switches that deploy with the code

The two drop-ins are the part that matters. They are small files WordPress loads before anything else, which is what lets a stored page come back without the usual start-up work.

Settings live in wp-config.php

I keep the connection and the main switches in wp-config.php, not only on a settings screen. A new release then carries the same settings, and a restored database cannot quietly point a site at the wrong cache.

<?php
define( 'WP_CACHE', true );              // let WordPress load the page cache drop-in
define( 'ACEREDIS_HOST', '127.0.0.1' );
define( 'ACEREDIS_PORT', 6379 );
define( 'ACEREDIS_EARLY_SERVE', true );  // answer hits before WordPress boots

The full list of constants, including TLS for managed Redis, is in the plugin’s configuration reference. The requirements are short: WordPress 6.9 or later for page caching, PHP 7.4 or later with the phpredis extension, and a Redis or Valkey server the site can reach.

What that means for speed

A stored page is answered in about 1 ms. The same page built by WordPress takes 250 to 380 ms, and a cached page with live blocks in it comes back in about 25 ms. Those are the plugin’s published figures, as of 30 November 2026, and they match what I see on the server.

The gain that matters most on a hosting platform is not the single fast page, though. It is that a busy hour on one site uses very little PHP, so the sites next to it do not feel it. A page built once is handed to every visitor who asks, and PHP workers stay free for baskets, sign-ins and the admin, which cannot be cached whole.

What that means for stability

Speed is the easy half. A cache earns its place on a shared server by behaving well when something goes wrong.

  • Edits refresh, they do not wipe. When a page changes, visitors keep getting the stored copy while one replacement is built in the background. That avoids the moment where a hundred visitors all ask PHP for the same new page. I wrote about the budget that needs in background cache refresh needs a budget.
  • Redis trouble does not become a white screen. A circuit breaker watches Redis. If a read fails, the page is rendered normally and the cache stays out of the way for that request. The reasoning is in Redis timeouts should fail open.
  • Sites keep to their own space. One Redis service serves the server, but each site has its own database inside it, so clearing one site never touches another. See shared Redis needs site boundaries.
  • Memory has a ceiling. Redis has a fixed memory limit and is kept out of swap, and the object cache has a size guard and a maximum lifetime, so one site cannot fill the store with keys that never expire.
  • A flush is cheap. A normal object cache flush is a single counter increment, not a scan of the whole database, so it is safe to run on a busy server.

After a deploy

A deploy changes code, so stored pages may be out of date. The order I follow is always the same: release the code, clear PHP’s OPcache, then warm the site’s main pages one at a time so real visitors arrive to a full cache. I never stack a deploy, a full purge and a change to the cache layer on a busy site in one go. Each of those empties something, and three empty things at once is how a quiet deploy turns into a queue.

One detail worth knowing if you run ARC yourself: a plugin update does not replace the two drop-ins automatically. Check them after an update and reinstall them if they are out of date.

wp aceredis status              # are both drop-ins installed, current and active?
wp aceredis dropin install all  # reinstall them after a plugin update

Check it yourself

You should not have to take a host’s word for caching. Ask a public page for its headers twice:

curl -sI https://example.com/ | grep -i '^x-acerediscache'
curl -s -o /dev/null -w '%{time_starttransfer}s\n' https://example.com/

The second request should say X-AceRedisCache: HIT. When a page is not cached, the header gives the reason, which is usually a cookie or a page type that should not be shared. Then edit a page and load it again: you should see the change straight away.

If you ever need the cache out of the way while you investigate something, one line in wp-config.php switches the whole plugin off:

<?php
define( 'ACEREDIS_DISABLED', true );

Which version we run

As of 30 November 2026 the latest release is 0.10.5. One of our own sites runs it as the first step of a careful roll-out; the other live sites run 0.10.1 or 0.10.2. So the newest options in that release are available, but I will not claim them as proven across the platform until they are. The changelog says what changed in each version.

ARC is not in the WordPress plugin directory yet. It is waiting behind another of our plugins that is in review, so for now it installs from the release zip. The features page lists what is optional and off by default, and the questions page covers the things people ask before installing it on a host that is not ours.

More hosting tipsTalk about your hosting

LET’S TALK

Want a server set up like this?

We run sites on a stack built with these habits. Tell us about yours and we’ll give you a straight answer about fit.

Ask for an invite

INVITE-ONLY BETA

Tell us about your site.

Nine free hosting beta invites remain for open-source projects, charities, community organisations and other public-benefit work. Tell us what you’re building; we’ll review the fit and reply personally. Fields marked * are required.

Please do not send passwords or private customer data. We’ll use these details to reply. Privacy notice.

Prefer email? Write to [email protected].