A fast-growing fashion brand whose storefront had to keep getting faster while the catalogue and the traffic behind it kept moving.
Headless fashion storefront

The challenge
A fast-growing fashion brand whose storefront had to keep getting faster while the catalogue and the traffic behind it kept moving.
The approach
Headless architecture: the storefront decoupled from the commerce engine and served over a storefront API. Front-end releases stop waiting on back-end ones, and performance becomes a budget the front end can actually hold rather than an outcome it inherits.
Architecture
- The storefront and the commerce engine are separate deployables that talk over a storefront API, so a front-end release does not wait on a back-end one.
- Rendering is decided per page type, not for the site: catalogue and product pages are built ahead of time, cart and account are not, because only the second kind is personal to the visitor.
- The API layer defines what the storefront is allowed to ask for, so a front-end change cannot become an unbounded query against the commerce backend.
My role
I built the headless frontend and the API layer it reads from, over REST and GraphQL. The decisions that mattered were about what the storefront renders itself and what it asks the commerce backend for, because that split is what the page times are made of.
Implementation
- Two protocols on purpose: GraphQL where the storefront needs one specific shape of data in a single request, REST where the endpoint is already the right one. The cost is two clients to keep working rather than one.
- Prebuilt pages are refreshed on a schedule rather than rebuilt on every change, so a catalogue edit does not cost a deploy. The price is a short window where a page is behind the commerce engine, which is tolerable for a description and not for a price, so the two are not treated the same.
- The performance budget is held in the front end, which means the front end has to say no: client-side data fetching and third-party scripts are the two things that spend it, and both are argued for rather than added.
- Decoupling bills operationally: two deployables, two sets of configuration and a cache that can disagree with the commerce engine. That is the real cost of independent releases, and at a smaller catalogue and release cadence it would not be worth paying.
Technology
HeadlessStorefront APIPerformance
Outcome
No measured result is published for this build. One of the six has one, and it is the only one that shows a figure. The rest say what was built and stop there, which is less impressive and considerably more useful than five plausible percentages.
More work
Horticulture · D2C
Online plant store
Health & fitness · Retail
Sports nutrition store
B2B procurement · Platform
Procurement and approvals platform
Next step
Describe what is in front of you and what it is costing. Thirty minutes is usually enough to name the decision underneath it, and that conversation occasionally ends with me saying you do not need the project.
If the problem is on a store that is already live, an eCommerce technical audit is the defined version of that: the same review, delivered in writing.