Caching Deep Dive: The Ultimate Way To Speed up Your GraphQL API
summary
Claims that decomposing queries into atomic cached fragments boosts cache hit rates and cuts latency: a demo shows a full-miss roundtrip at ~700 ms dropping to ~68 ms after fragments hit the cache. Uses Stellate on Fastly with a KV normalized store to run Partial Query Caching and do edge split-and-merge so static core (TTL ~24h), live pricing (minutes), heavy recomms and per-user fields are cached or bypassed correctly, and combines that with @defer streaming to return cached pieces immediately while dynamic parts stream later.
AI-written summary · about
chapters (7)
- 0:00Introduction and context
- 7:05GraphQL caching basics
- 13:49Partial query caching
- 19:24Power of edge caching
- 24:42Defer and caching together
- 30:15Holy grail of GraphQL caching
- 32:02Q&A session
related talks
25mGraphQL and caching - Why is it so hard, or is it?
24mHow to cache GraphQL queries at the edge
12mHow @Defer and @Stream Will Improve GraphQL Caching
23mHow to Edge Cache GraphQL APIs
23mHow to edge cache GraphQL APIs
21mCaching GraphQL APIs
39mGraphQL Accelerated
21mHigh Performance APIs through Caching
