Headless commerce
Related service Website & online shop
DEFINITION
In headless commerce, cart, catalog, checkout, pricing, inventory, and order orchestration run on a commerce backend (Shopify, commercetools, Saleor, Medusa, BigCommerce) and you talk to it only through APIs. The frontend (Next.js, mobile app, kiosk, voice) can be anything and is no longer married to the webshop's template engine. What is headless: the storefront is decoupled from the backend. What is not headless: a Shopify Liquid theme store, even with a new design. It pays off when you need multiple channels (web plus mobile plus marketplace plus POS), when marketing wants to ship A/B landing pages daily without engineering (paired with a CMS), or when speed is the value prop (Core Web Vitals, Edge SSR). For a simple 200-SKU D2C webshop, classic Shopify is cheaper, faster, and converts no worse.
- SSR (Server-Side Rendering)→
HTML rendered by the server per-request, fresh for every user. Ideal for dynamic content (dashboards), but slower than SSG.
- SSG (Static Site Generation)→
Pages are produced at build time as HTML and served from a CDN. Near-zero TTFB. DField's own site runs this way across 111+ pages.
- ISR (Incremental Static Regeneration)→
SSG + timed regeneration: the HTML is static but regenerates on a schedule. Ideal for blog content · freshness with CDN speed.
- Edge rendering→
Code runs at the CDN edge closest to the user (Cloudflare Workers, Vercel Edge). Dynamic responses with ~10–50 ms TTFB.
- RSC (React Server Components)→
React components that run exclusively on the server and never ship to the browser. Result: less client-side JS and faster hydration.
- LCP (Largest Contentful Paint)→
Time until the largest visible element paints. Google Core Web Vitals passes under 2.5s · we usually land marketing pages under 1s.
- 0126 Apr 2026The CSP we ship · with notes on why each directive is there→
- 0226 Apr 2026Server vs. Client Components in 2026 · the rule we apply→
- 0322 Apr 2026Speculation Rules API in 2026 · near-instant nav, zero JS cost→
- 0410 Mar 2026Multi-tenant SaaS with Next.js: from template to production→
- 0514 Feb 2026Core Web Vitals on Next.js: from 4.5s LCP to 0.9s in 3 weeks→