~/talk

Responsible JavaScript

Talkat We Love Speed 2019 · on Friday, 2019-09-20· [javascript, web-performance]
slides:none on file

Web pages commonly ship hundreds of kilobytes of compressed JavaScript — median ~370 KB, 75th ~650 KB, 90th ≥1 MB — which decompresses and blocks the main thread for 2–6 seconds on low-end devices like a Moto G. Practical fixes include using semantic HTML and server-rendered forms to drop client-side validation, Babel tweaks (useBuiltIns: "usage", loose mode or transform-runtime) to cut bundles ~52%, and differential serving with type="module"/nomodule plus client hints (RTT/downlink/ECT) to adapt payloads and drop 2G load times from ~90s to ~5s.

AI-written summary · about

  1. 0:00Introduction and background
  2. 3:00JavaScript growth and performance impact
  3. 6:11External consistency in UX
  4. 9:47Semantic HTML for accessibility
  5. 13:45JavaScript tools and their flaws
  6. 17:21Optimizing Babel configurations
  7. 20:50Differential serving explained
  8. 24:41Adaptive performance with client hints
  9. 28:39Building with user needs in mind
  10. 30:54Q&A session
~/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.