Decoupled architectures move complexity rather than removing it. You gain a frontend you fully control and inherit three problems the monolith solved for you: what gets cached, how a reviewer sees unpublished work, and where changes get tested. Here is how each is handled on Pantheon.
Next.js sites on Pantheon run on a managed container runtime on Google Cloud Run behind a global CDN. The property worth understanding is that the cache persists across horizontally scaled containers.
Consider the alternative. If each container holds its own cache, then scaling from two containers to ten means ten separate caches, each cold, each independently hitting your CMS for the same content. Traffic growth produces a superlinear increase in origin load — exactly when you can least afford it. A shared, persistent cache means new capacity serves warm content immediately.
Caching is only useful if you can invalidate it precisely. Three strategies are available:
Time-based revalidation regenerates content on an interval. Good for content with a predictable staleness tolerance — a pricing page, a status summary.
Path-based revalidation targets a specific route. Good when you know exactly which page changed.
Tag-based revalidation is the one that matters for decoupled content. Tag related content when you render it, then invalidate the tag when the source changes. A single author correction can refresh that author's archive page, the article, and every listing that includes it — without rebuilding the site and without you enumerating those routes by hand.
The pairing to internalize: Incremental Static Regeneration gives you static delivery with a controlled refresh path, so pages stay fast without going stale.
HTTP streaming and Suspense boundaries let a page render progressively. A slow third-party call — inventory, personalization, a recommendation service — delays only the region that depends on it instead of holding the entire response.
This changes how a slow API feels to a reader. The article is legible immediately; the related-products rail arrives a moment later. Same total latency, materially different experience.
A decoupled frontend cannot show a reviewer unpublished content unless it is built to. On Pantheon, draft content flows through the same frontend components as published content, so preview shows the real rendering rather than a raw text approximation.
This is where decoupled setups most often disappoint editors, and it is worth verifying early in any build. If your reviewers cannot see their work in context, they will route around the workflow.
Every pull request gets its own Multidev environment automatically. That yields a few things worth naming:
Combined with Git-backed Dev, Test, and Live environments and instant rollback, the deploy story stays conventional even though the architecture is not.
Secrets are managed in the Dashboard, scoped per environment — so a preview token in Dev is not the production credential. Build and runtime logs are available through the Dashboard and Terminus, which means diagnosing a failed build is a self-service task.
Each of these features answers a specific question a decoupled build will eventually raise: how does the cache behave under load, how does a reviewer see unpublished work, and where do changes get tested safely?
Decide those three deliberately at the start. Teams that defer them usually end up rebuilding their caching strategy under deadline pressure — which is the worst possible time to be reasoning about invalidation.