~/talk

How to Edge Cache GraphQL APIs

Talkat GraphQL Galaxy 2021 · 2021-12-09..12-10· [graphql, web-performance]

Claims that GraphQL can be cached at the edge using GraphCDN and deployed on Fastly compute@edge, with global invalidation completing in about 150 milliseconds. Explains normalized caching via __typename plus id, shows list-invalidations require manual hooks, and mandates including the authorization token in cache key to avoid leaks. Demonstrates a working edge cache that tags objects for global purge, reduces origin load, and preserves per-user authorization while serving cached GraphQL responses worldwide.

AI-written summary · about

  1. 0:00Introduction
  2. 1:33The Story of a GraphQL CDN
  3. 4:48Why Cache GraphQL
  4. 7:03Can I Cache GraphQL at the Edge
  5. 7:26How GraphQL Clients Cache
  6. 9:56GraphQL Invalidation
  7. 10:21List Invalidation
  8. 10:48Creating a New Post
  9. 11:01Manual Invalidation
  10. 11:20Manual Invalidation Example
  11. 11:34GraphQL Invalidation Example
  12. 12:02GraphQL Refetch
  13. 13:54GraphQL Data Structure
  14. 14:22GraphQL for Cache
  15. 15:08Can I just run GraphQL at the edge
  16. 16:00Authorization
  17. 17:31Authorization Token
  18. 18:06Global Invalidation
  19. 18:53Fastly Invalidation
  20. 22:29Outro
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.