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








