Caching in a headless WordPress stack

There are two caches between the editor and the visitor. Know which one you are looking at.

Engineering
Headless
Performance
NP–98 · Engineering

WordPress caches its API responses, and the front end caches the pages it builds from them. Both make the site fast; both can show you old content.

When content looks stale

  1. Publishing in the editor clears both caches for that page.
  2. Changes made outside the editor need the front end told directly.
  3. If a new block shows no fields, the plugin's cached block list is out of date.

Most “it didn’t update” reports come down to one of those three.