The challenge
The existing theme made forty API calls per product page. Under peak load the checkout timed out, and the team had no way to see where the requests were going.
What we did
- 1Rebuilt the storefront headlessly against the Storefront API
- 2Collapsed product page requests from forty to four
- 3Introduced edge caching with per-product revalidation
- 4Rewrote checkout as a two-step flow with saved state
- 5Ran load tests at 2x expected peak before launch
We traded through peak week without a single incident. That alone paid for the project.
