Skip to content

Headless commerce

Headless is sold as a performance upgrade. It is really an organisational one: it decouples the storefront from the commerce release cycle so the front end stops waiting on back-end deployments. If that is not your bottleneck, it will not pay.

How I approach it

What it means

A headless build separates the storefront from the commerce platform, talking to it over an API instead of rendering from its templates. Next.js on the front, GraphQL or a Storefront API in between, the platform still doing catalogue, pricing, cart and order behind it.

What that buys is independence. The front end gets its own roadmap, its own release cadence and its own performance budget, and a merchandising change stops being a platform deployment. What it costs is a second system: another build pipeline, another hosting surface, another place for state to be wrong, and a rendering and caching strategy somebody now has to own.

I built my first headless frontends at Magneto IT Solutions, over REST and GraphQL for mobile and PWA, and the pattern has recurred since, most visibly in the Powerlook headless architecture. It is the right call more often at the large end than the small one, and the deciding factor is almost never the technology.

Problems solved

The symptom as the person with the problem describes it, then what is usually underneath it.

  • Front-end work is queued behind platform releases

    A copy change waits three weeks for a deployment window. This is the problem headless actually solves, and it is an organisational symptom rather than a technical one.

  • The storefront has to serve more than the store

    Web, app, kiosk, marketplace feed, all needing the same catalogue and pricing. At that point the API boundary already exists in practice and is worth making explicit.

  • Performance has hit the template ceiling

    Server-rendered platform templates carrying a decade of accumulated front-end. Sometimes the answer is a rewrite of the theme rather than a decoupling, and it is worth being honest about which.

  • The content stack and the commerce stack are fighting

    Editorial in one system, catalogue in another, and every landing page a negotiation. Composable puts them side by side behind one front end rather than nesting one inside the other.

When it applies

Signals it is time

  • The front end has a roadmap of its own, with people assigned to it
  • More than one consumer of the same catalogue and pricing
  • A content team that needs to ship independently of platform releases
  • A performance budget that the platform theme cannot meet
  • The engineering capacity to own a second deployment surface, permanently

And when it is the wrong call

If the front end has no independent roadmap, headless buys an extra deployment surface, an extra failure mode and nothing else. Most stores that ask for it want a faster theme, which is a much cheaper project.

Every one of the six pages under expertise carries one of these. A consultant who recommends everything for everyone is a vendor with a wider catalogue.

Approach

  1. Establish whether the bottleneck is real

    How often does front-end work actually wait on a platform release, and for how long. If that number is small, the project is a theme rebuild and should be scoped as one.

  2. Draw the API boundary deliberately

    What the storefront owns, what the platform owns, and where cart and session state live. Every ambiguity here becomes a bug that only appears under load.

  3. Decide rendering and caching before building

    Static, incremental or server rendered, per route, with the cache invalidation path written down. On a commerce site this is the architecture, not a configuration detail.

  4. Keep SEO parity as a launch gate

    URLs, canonical handling, structured data, pagination and faceted navigation carried across before cutover, not after. A headless launch that resets the URL structure is the most expensive way to redesign a site.

Stack

Next.jsReactGraphQLStorefront APIMagento PWA StudioHydrogenEdge caching

Questions

Does headless make a store faster?

It makes a fast store possible, which is not the same thing. A headless build with an unconsidered rendering strategy is comfortably slower than a well-tuned platform theme. The speed comes from the caching and rendering decisions, and those are available to you either way.

Headless on Magento or on Shopify?

Both work. Magento with PWA Studio or a custom GraphQL front end suits complex catalogues and B2B rules; Shopify with the Storefront API or Hydrogen suits brand-owned D2C. The commerce layer should be chosen on the commerce requirements, then decoupled, not the other way round.

What is the ongoing cost of running headless?

A second build and deploy pipeline, a hosting surface with its own scaling behaviour, and someone who owns the caching strategy. Budget for that permanently rather than as a launch cost, because it does not go away after go-live.

Whether you are scaling an existing commerce platform, planning a migration, exploring headless architecture or looking at AI-driven transformation, the first conversation costs nothing and usually shortens the second one.

Other ways to reach me