~/talk

How to build an adaptive web app

Talkat CityJS Berlin 2024 · 2024-01-05..02-02· [web-platform, frontend-architecture]
slides:none on file

Shows how to measure real user data (RUM) instead of trusting Lighthouse, then adapt the app by switching assets and behavior: use deviceMemory API and hardwareConcurrency to reduce heavy 3D models or web workers on low‑end devices, use the Network Information API and prefers‑reduced‑data to serve images instead of video (demo switches video to a low‑res image on 3G), use container queries, AVIF/WebP with JPEG fallback, Cloudinary/Next.js image component or Sharp, offscreen canvas feature‑detecting and progressive enhancement to keep core UX working.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:25Performance measurement basics
  3. 3:31Adaptive vs least condition approach
  4. 5:15Adapting to screen sizes
  5. 8:30Browser support and graceful degradation
  6. 12:03User preferences and accessibility
  7. 15:33Device CPU and RAM considerations
  8. 21:31Internet connection adaptation
  9. 27:30Recap and resources
~/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.