~/talk

Living on the Edge

Talkat JSDayIE 2023 · on Tuesday, 2023-09-26· [web-platform, javascript]
slides:none on file

Shows how to move small dynamic bits (a Geo-based banner) from Next.js SSR into an edge middleware that fetches a build-time static page, uses middleware methods like replaceText and setPageProp to inject localized copy, and caches at CDN for much lower latency. Covers Edge Functions from Netlify, Workers from Cloudflare and Cloudflare Smart Placement, Prisma Data Proxy and PlanetScale/Vitess handling up to a million open connections. Notes limits: lower CPU, smaller caches, extra cost, but measurable latency and carbon reductions.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:03What is the edge
  3. 3:49Edge locations and performance
  4. 4:53Edge in request lifecycle
  5. 6:19Adopting edge in legacy apps
  6. 8:28Static pages with dynamic content
  7. 10:52Edge for multiple requests
  8. 12:39Data at the edge challenges
  9. 13:42Single source of truth approach
  10. 15:08Distributed data with durable objects
  11. 16:12Edge computing and climate change
  12. 19:41Limitations of the edge
  13. 21:06Getting started with the edge
~/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.