How to cache GraphQL queries at the edge
summary
Builds an edge GraphQL cache called GraphCDN deployed on Fastly Compute@Edge, stores whole query results (no normalized caching because a gateway can’t assume per‑user auth), demo shows initial cache miss then a 20ms cache hit, claims about average p95 speedups around 150x across billions of requests and global purge latency ~150ms, exposes a purge API and analytics, and admits on‑premises isn’t supported yet.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 2:16GraphQL clients cache
- 5:08List invalidation
- 6:15Manual invalidation
- 7:02Normalized caching
- 9:36GraphQL CDN
- 12:28Fastly Edge
- 13:53Live Demo
- 16:38Discussion
related talks
23mHow to Edge Cache GraphQL APIs
23mHow to edge cache GraphQL APIs
37mCaching Deep Dive: The Ultimate Way To Speed up Your GraphQL API
25mGraphQL and caching - Why is it so hard, or is it?
12mHow @Defer and @Stream Will Improve GraphQL Caching
52mBuild and Deploy Instant GraphQL APIs to the Edge
42mWhy you should be expecting more from the network edge
21mCaching GraphQL APIs
