Page cache, redirects, backups and site health
Since 1.13.0 an agent can help run the site as well as edit it: clear the page
cache after a change, see which redirect a URL hits, check that a recent backup
exists, and read Site Health. Every tool here starts off, apart from the three Site Health reads, which
first-run setup switches on with the other site reads. Each one needs a user who
can manage options (manage_options). The redirect, backup and health
tools only read. The purge tools are the only ones that change anything.
| Area | Tools | Works with |
|---|---|---|
| Page cache | Four: one status read, three purges | WP Super Cache, WP Fastest Cache, W3 Total Cache, WP-Optimize, Cache Enabler, Hummingbird, Jetpack Boost, SpeedyCache, Breeze, SiteGround Speed Optimizer, LiteSpeed Cache, Nginx Helper, Proxy Cache Purge |
| Redirects | Four reads | Redirection, Rank Math, Safe Redirect Manager, 301 Redirects, Slim SEO |
| Backups | Two reads | UpdraftPlus |
| Site health | Three reads | WordPress itself |
Page cache
Section titled “Page cache”- Cache status (
aafm/site-cache-status), a read tool. It lists the supported cache plugins that are active, whether each one is serving cached pages, which purges it supports, and whether a purge can be confirmed or only requested. It also names cache plugins these tools don’t cover, and caches it can see in front of the site, such as Cloudflare, Varnish or Fastly. It calls no purge. - Purge a post
(
aafm/site-purge-post-cache), a write tool. It clears one published post or page. The URL comes from the post id, so you can’t send a different one. - Purge a URL (
aafm/site-purge-url-cache), a write tool. It clears one address on this site. A query string, a fragment, a wildcard or an address on another site is refused before any cache plugin is called. - Purge the whole cache
(
aafm/site-purge-site-cache), a destructive tool. It clears every cached page, and the site is slower until pages are cached again. It runs at most once every 15 minutes.
The three purges share one site-wide budget, and Cache status reports how much is left. None of them flushes the object cache.
What a purge result means
Section titled “What a purge result means”A purge goes to every supported cache plugin that is serving pages, and the result lists each plugin on its own line:
| Result | Meaning |
|---|---|
purged |
A cached copy was there before the call, and no copy from before it is left. |
requested |
The purge was sent, but the removal can’t be proven. This includes the case where no cached copy was found. |
failed |
The purge didn’t work. The reason field says why. |
skipped |
Nothing was done for that plugin, for the reason given. |
LiteSpeed Cache, W3 Total Cache and Proxy Cache Purge never confirm a removal, so
their results never say purged. A successful call says requested, and a call can
still come back failed or skipped.
This plugin sends no request of its own for a purge, but some cache plugins send requests to your site or to their proxy while they purge, and some fetch the page again, which can make a call take several seconds.
Redirects
Section titled “Redirects”Four read tools cover Redirection, Rank Math, Safe Redirect Manager, 301 Redirects and Slim SEO. They change nothing, not even a hit counter.
- List redirects
(
aafm/site-list-redirects): source, target, status code, whether each one is on, and a hit count where the plugin keeps one. Regex and wildcard redirects are marked as patterns. - Get a redirect (
aafm/site-get-redirect): one redirect by its id. With more than one redirect plugin active, the agent names the plugin too. - List not-found URLs (
aafm/site-list-404s): the addresses that returned a 404, most requested first. Safe Redirect Manager keeps no such log, so it adds nothing to this list. Each path is treated as untrusted text, and no IP address or browser name is returned. - Test a URL (
aafm/site-test-redirect): works out which redirect a URL would hit without requesting it, then follows the chain for up to ten steps. It can’t see server rules, WordPress’s own redirects or a CDN, so its answer can be incomplete. It names any redirect plugin it finds but does not support.
Redirects made by the server, by WordPress or by any other plugin aren’t listed.
Backups
Section titled “Backups”Two read tools report on UpdraftPlus. Neither can start a backup, so run one in UpdraftPlus or let its schedule do it.
- Backup status (
aafm/site-backup-status): whether a backup is running, waiting or stalled, how old the newest good backup of the last 24 hours is, and whether the backup gate is on and satisfied. - List backups (
aafm/site-list-backups): each backup set, newest first, with its size, where it is kept, and the result of its database and files checks.
Neither tool returns file names or storage settings.
Site health
Section titled “Site health”Three read tools, part of WordPress core rather than any plugin:
- Site health summary
(
aafm/site-health-status): WordPress’s own Site Health checks that need no network request, each marked good, recommended or critical. It also says whether debug mode or recovery mode is on. It skips the checks that need a network request, so its counts can be lower than the Site Health screen’s. - List waiting updates
(
aafm/site-list-updates): the core, plugin and theme updates WordPress already knows about, with the time of its last check. It never starts a check and installs nothing. - Scheduled task status
(
aafm/site-cron-status): whether WP-Cron is switched off, how many tasks are due or late, and the hooks that run next. It runs nothing.
The summary and the updates list block outbound requests while they run.
On a multisite network
Section titled “On a multisite network”- The purge tools and the backup tools are refused.
- The health tools need a super admin.
- Cache status still runs, and says that purging isn’t available.
- The redirect tools work as usual.
The backup gate
Section titled “The backup gate”The backup gate is a card on the Settings tab, and it starts off. You tick the risky tools it covers, and from then on each ticked tool is refused unless UpdraftPlus has a database backup from the last 24 hours that passed a check. The picker offers destructive and high-risk tools only, from this plugin and from other plugins’ abilities that this plugin bridges. Read tools and the two backup tools are never held back.
How a backup is checked
Section titled “How a backup is checked”A backup passes when its job finished, it holds the database, and the database file on your server has the size and checksum UpdraftPlus recorded.
- A file up to about 8 MB is checked when the tool is called.
- A larger one is checked in the background about once an hour. Until that check has run, the gated tools are refused with a pending reason. You can start the check early with Verify now on the card.
- The background check runs only while the gate is on.
When the gate refuses
Section titled “When the gate refuses”- No UpdraftPlus. Every ticked tool is refused.
- Too large to check. The tools stay refused, and waiting won’t change it, unless you switch on Large backups. That accepts such a backup on its size alone.
- Off-site only. A backup kept only off-site has no file here to check, so it stays refused unless you switch on Off-site backups. That trusts UpdraftPlus’s own record of it.
Next steps
Section titled “Next steps”- Safety controls: the other optional guards, all off until you set them.
- Undo and change history: which tools the Changes tab can revert.
- Abilities catalog: every tool, with its permission and risk.