~/talk

Lessons learned from building Session Replay, a DOM capturing product

Talkat Wey Wey Web 2023 · 2023-11-23..11-24· [web-platform, frontend-architecture]
slides:none on file

Built a DOM-capturing Session Replay that records diffs (not video) using a fork of rrweb, a mutation observer plus selective monkey patching for missing APIs, with default text masked as stars to avoid PII. Bundle size drops from about 53 KB to 35 KB by pruning unused rrweb code, swapping lighter dependencies and making features tree-shakeable. Payloads compress before upload using a compression library run inside a web worker to avoid blocking the main thread; captures and debugging tooling (console, network) successfully reproduce user state for fixing bugs.

AI-written summary · about

  1. 0:00Introduction to Session Replay
  2. 1:26How Session Replay works
  3. 7:44Know your use case
  4. 10:36Expect the unexpected
  5. 13:24Optimize bundle size
  6. 19:42Efficiently compress data
  7. 25:26Q&A and resources
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.