Headless WordPress Is the Right Answer Less Often Than You Think
The preview link came back at 11:40 on a Thursday with every product card blank. The merchandising team had been promised instant previews for a week, and the Next.js storefront we'd built pulled everything from WPGraphQL. Nothing was syntactically wrong. WordPress issued a preview token for the draft revision, but the front end's ISR cache keyed the route by slug and served the published version under the same key. Two systems, two definitions of "current," and a launch-week call that nobody wanted to be on.
This was a Fortune 500 apparel brand. The decision to go headless had been made in a planning meeting, mostly because a conference talk had made the monolith feel embarrassing. Nobody had written down what problem decoupling was supposed to solve. When I asked, the answer was "we want it to feel modern." That's not a requirement. That's a mood.
What decoupling actually costs
Headless doesn't remove complexity. It moves complexity to the seam between systems, and the seam is where production breaks.
- Preview is now a distributed problem. Drafts, revisions, scheduled posts, and draft product variations all need a path through the API and into the front-end cache. Every one of those paths is a place where the editor sees one thing and the customer sees another.
- Auth and sessions split in two. WooCommerce's cart and checkout were built around WordPress cookies and nonces. We hit a checkout bug where the cart nonce expired after 12 minutes of inactivity, and the front end surfaced it as a generic "something went wrong." Fixing it meant building a token bridge that we now maintain forever.
- SEO gets duplicated. Yoast wrote meta tags in WordPress. The Next.js app also wrote meta tags. Redirects lived in the WordPress redirect plugin and in
next.config.js. Both were correct on their own. Together they produced redirect chains of three hops on about 4% of legacy URLs. - Build pipelines become a product. A full static rebuild took nine minutes. Incremental revalidation was faster but introduced the stale-cache bug above. We ended up with two environments, two deploy paths, and a runbook longer than the original brief.
The numbers were uncomfortable. The headless build hit a 90ms edge TTFB, which looked great in a demo. But it shipped roughly 410KB of hydrated JavaScript to product pages, and LCP landed at 2.6 seconds on mid-tier Android hardware. Over two quarters, around 30% of sprint capacity went to maintaining the seam, not improving the product.
Where headless genuinely wins
I'm not arguing against decoupling. I'm arguing about the trigger. Headless earns its cost when at least one of these is true:
- The same content has a second consumer that isn't a web page. A mobile app, a kiosk, a partner feed, or an internal tool that needs structured data and doesn't care about your theme.
- The front end needs real application behavior. Configurators, stateful dashboards, or offline-capable flows where server-rendered HTML is the wrong shape.
- Your front-end team is a separate org with its own release cadence, and the coupling is slowing both sides down measurably.
If none of those apply, you're paying a distributed-systems tax for a marketing site.
The classic stack that gets you most of the way
On the same brand's classic path, we spent three weeks on boring work and the results were better than the headless build in the metrics that matter to users. Full-page caching at the edge, a Redis object cache, and cleanup of autoloaded options (we removed about 2.3MB of autoload data that three abandoned plugins had left behind) dropped TTFB from 620ms to 180ms on cold product pages. Font loading and a proper hero image pipeline took LCP from 3.4 seconds to 2.1. The editors kept Gutenberg, kept preview working, and kept one codebase.
For WooCommerce specifically, the cart and checkout are where monolith wins are most underrated. Session handling, tax calculation, and payment gateway callbacks are hard enough in one system. Splitting them across two is how you end up debugging a webhook at 2 a.m. with a customer on the phone.
Where I do reach for decoupling in WordPress work is narrow: a single high-interaction island, such as a configurator, mounted into an otherwise classic page, with a thin REST endpoint rather than a full GraphQL layer. If another consumer later needs the same data, a Laravel service in front of WordPress can normalize it without rewriting the theme. The AI Showcase I built on Laravel 11 and Livewire 3 works the same way: the expensive, stateful part lives behind one well-defined boundary, and everything else stays simple.
A checklist before you split the stack
- Name the specific problem decoupling solves, in a sentence that includes a metric.
- Write down who previews content, and how. If the answer is "it'll work out," stop.
- Decide which system owns redirects, meta tags, and sitemaps before the first sprint, not after launch.
- Budget maintenance for the seam as a recurring cost, not a one-time migration.
- Benchmark the classic stack with full-page caching and object caching first. Most teams have never actually tried it.
The blank product grid that Thursday was fixed in about four hours once we stopped arguing and wrote the cache key to include the revision state. It shouldn't have been a problem in the first place. The architecture asked the team to solve a problem they didn't have yet.
Split the stack when a second consumer of your content forces you to, not when a conference talk makes the monolith feel old.
This is the same discipline we bring to client work at Champlin Enterprises: start with the constraint, measure the boring baseline, and only add architecture that pays for its own maintenance. Most of the time, the fastest site is the one with the fewest moving parts.