~/talk

Getting started with GraphQL and caching on Next.js + Apollo + Layer0

Talkat GraphQL Galaxy 2021 · 2021-12-09..12-10· [graphql, web-performance]
github:trislee
slides:none on file

Converts a REST backend to GraphQL using Next.js, Apollo Server and Apollo Client, hosted on Layer0 by Limelight, and demonstrates edge caching of GraphQL POST responses. Shows route config with a one‑hour TTL, per‑operation cache handlers, and surrogate keys per product so single‑product purges are possible via UI or API. Uses Layer0 devtools to prove misses become hits at the edge and shows the modified cache headers and x0t hit indicator.

AI-written summary · about

~/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.