Checkout p95 sat at 1.9 s, and 800 ms of it was one repeated basket query. That fix, plus a cache header, brings p95 under 1.1 s with no spend.
What changed
| Change | Effect |
|---|---|
| Batch the basket lookup into one query | −720 ms at p95 |
| Cache the delivery options for 60 s | −80 ms at p95 |
your reviewer requested changes
Why this approach?