Caching · 30 November 2026

Page cache and object cache: what each one does for WordPress

They sound alike and they solve different problems. One stops WordPress running at all. The other makes WordPress cheaper when it has to run. Most busy sites want both.

By Shane Rounce · 2 minute read

The page cache answers before WordPress starts

A page cache keeps the finished HTML of a page. When the next visitor asks for the same URL, the stored copy goes straight back and WordPress never loads. No plugins, no theme, no database.

In Ace Redis Cache that copy lives in Redis, and a small file called advanced-cache.php hands it over before WordPress boots. On the busiest day I have measured, the web servers' median response was one millisecond. That is what skipping WordPress looks like.

A page cache is only safe when the page is the same for everyone who gets it. That is why most of them stop at the login cookie, and why baskets and checkouts are always left alone.

The object cache makes the remaining work cheaper

Some requests have to reach WordPress: a page that has just expired, the admin, a search, a checkout. While WordPress builds those it asks the database the same questions again and again. Which options are set? What are the terms for this post? Who is this user?

An object cache keeps those answers in memory between requests. WordPress has had the hooks for one since version 2.0, and a file called object-cache.php plugs Redis into them. Nothing is skipped, but each page costs far fewer database queries.

How to tell which one you are missing

  • Anonymous visitors get slow pages: you need a page cache, or yours is being bypassed. Look at the response headers. ARC sends X-AceRedisCache, and it says why a page was not cached.
  • The admin, the checkout or signed-in pages are slow: a page cache cannot help there. An object cache can.
  • Pages are fast until you publish something, then slow for a while: your cache is being wiped on every edit. Look for one that refreshes pages in the background.

Why I ship both in one plugin

Two caches from two plugins tend to disagree. One clears a post while the other still holds its terms, and you get a page built from old data and stored as new. With both layers in one place, an edit can refresh the page and the objects behind it together.

That is the whole idea behind Ace Redis Cache: one plugin, both caches, sharing one Redis.

All notes Get the latest release