~/talk

Progressive HTML Rendering 101

Talkat XtremeJS 2023 · on Tuesday, 2023-11-21· [web-performance, web-platform]
slides:none on file

Claims that streaming HTML and async fragment rendering shrink the blank-page window and make pages visible and usable sooner, demonstrated with a Node http server example, a simple event-emitter demo, and the async-writer module that buffers and preserves order so out‑of‑order fragments can flush without breaking layout. Shows the cost of naive out‑of‑order flushing (DOM misplacement) and the fix where small client JS moves fragments into place. References partial hydration and Marco frameworks with a ~13 KB runtime (target ~7 KB and 0kbjs for noninteractive pages).

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Move from client to server
  3. 3:53What is progressive HTML
  4. 5:18Problem without progressive
  5. 7:05Flushing the head early
  6. 8:50Splitting page into fragments
  7. 12:41Out of order fragments
  8. 14:28Async rendering and streaming
  9. 17:03Async writes in Node.js
  10. 20:17Paint order with JavaScript
  11. 22:44Frameworks for progressive
  12. 25:11Future of hydration
  13. 26:00Q&A
~/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.