Serve through a CDN
Cache static assets and public pages at the edge; pass personalised traffic through.
Strengths
- Much lower latency for cached content far from the origin.[3] Time to First Byte (TTFB), Secondary, Not yet verified by an editor
- Absorbs traffic spikes and attacks before they reach the origin.
Weaknesses
- Risk of caching personalised responses if misconfigured.
Choose it when
- Users far from the origin and a meaningful share of cacheable content.
Limitations
- Doesn’t remove the round trip for uncached API calls.[4] Default cache behavior, Primary, Not yet verified by an editor