Skip to Content
ExplanationWhy saved content can appear later

Why saved content can appear later

Audience: CMS editors and developers.

A CMS save changes stored content. The public website can still serve generated HTML or cached data until the relevant update work completes. The caches have different purposes and independent update rules.

Cache layers

LayerRole
CMS request readsReuses matching Prisma reads within one GraphQL query request. The scope ends with the response.
CMS server internalsCaches Apollo server data, including persisted-query metadata. These settings do not define a whole-response publishing deadline.
Backend CMS clientStores normalized CMS results in Apollo memory. Query policies and invalidation control reuse.
Backend feature and request cachesReuse selected service results. Request caching depends on backend cache configuration and endpoint policy.
Frontend ISRReuses generated HTML and page data until timed or requested regeneration.
Browser and CDNReuse HTTP responses according to response headers and deployment configuration.

A cached frontend response can serve a visit without another CMS request. Regeneration loads backend data and replaces the generated page. A CMS save, completed regeneration, and the response visible to a visitor are separate events.

Revalidation and supporting content

Page revalidation queues work to evict page and banner data, reload the backend page, and request frontend regeneration. Headers, footers, and themes have separate cache entries and invalidation paths. Ordinary page eviction retains these structure entries.

Header and footer saves notify the backend about their affected structures. Updates to related menu items and footer sections also notify the parent structure. The backend then resolves affected pages for regeneration. Explicit page revalidation can also refresh supporting structures, depending on the request priority and page type.

The worker handles eligible tasks by priority and age. Queue length, generation work, retries, and service readiness affect completion time. There is no fixed publishing deadline derived from the individual cache durations.

Browser copies

The frontend emits browser and CDN cache headers. A deployed edge cache can have its own storage and freshness rules. CDN caching is deployment-specific.

A reload without browser cache helps distinguish a local copy from a server or edge response. It does not by itself refresh the CMS, backend, or frontend ISR caches.

The cache policy defines defaults, scheduling, and invalidation scope. Use refresh content for the corrective procedure.

Last updated on