Introducing Edge Slice Rerendering
summary
A new technique called Edge Slice Re-rendering (ESR) combines static analysis with CDN edge compute to extract minimal program slices (for example only running toUpperCase for a headline) and apply overrides as diffs to statically generated pages. A demo on the Next.js docs banner on a 4G Moto shows ESR (Outsmartly) slightly beating the SSG baseline, matching SSR latency, and avoiding the client-side flash where a popular third-party tool briefly reverts content. The system runs slices at the edge, supports async compute and caching.
AI-written summary · about
chapters (14)
- 0:00Intro
- 0:29WE MOVED TO SSG TO SOLVE THE PERFORMANCE LIMITATIONS OF SSR
- 1:01CLIENT-SIDE SOLUTIONS (JAVASCRIPT) OFTEN PERFORM WORSE THAN SSR
- 1:25CAN WE KEEP THE PERFORMANCE OF SSG, WITH THE FLEXIBLY OF SSR?
- 3:47WHAT WOULD BE IDEAL?
- 5:07WE WANT THE MENTAL MODEL OF SSR WITH THE PERFORMANCE OF SSG
- 6:01COMPILERS
- 6:21STATIC ANALYSIS
- 7:01PROGRAM SLICING
- 7:40OVERRIDES
- 9:14CLIENT-SIDE JAVASCRIPT?
- 9:42AT THE EDGE (CDN)
- 10:02EDGE SLICE RERENDERING
- 13:25Enterprise Ready








