~/talk

Web Performance Tuning with browser APIs

Talkat NDC London 2021 · 2021-01-25..01-29· [web-performance, web-platform]
links:none on file
slides:none on file

Shows how browser APIs measure and act on real performance: uses User Timing API, Performance/Navigation/Resource Timing and Long Tasks (long task = 50 ms) to record durations and detect bottlenecks, then uses Network Information API, Page Visibility, ResizeObserver and Intersection Observer to adapt behavior. Demonstrations use plain JavaScript: lazy-load gallery images (reduces requests), pause video when tab hidden, swap high‑res for low‑res on slow connections; works in Chrome/Edge (support varies in Safari/Firefox). Quotes Amazon: 100 ms delay ≈ 1% revenue impact.

AI-written summary · about

  1. 0:00Start
  2. 3:26Web Performance
  3. 4:35Measuring the Performance
  4. 6:36Perceived Load Speed
  5. 7:07Load Responsiveness
  6. 7:23Runtime Responsiveness
  7. 7:48Visual Stability
  8. 8:51Conversion
  9. 9:38Traffic
  10. 12:09Lighthouse
  11. 13:40Monitoring Apis
  12. 17:26Performance Timeline Api
  13. 18:48Performance Observer
  14. 20:27Browser Compatibility
  15. 20:56Navigation Timing
  16. 24:50Redirects
  17. 25:46Calculate the Redirect Time
  18. 31:48Network Information Api
  19. 32:11Page Visibility Api
  20. 32:51Resource Observer Api
  21. 33:46Intersection Api
  22. 34:31Intersection Observer Api
  23. 35:07Information Api
  24. 48:28Callback Function
  25. 50:27Resize Observer Api
  26. 51:06Demo
  27. 54:03Browser Support for the Results Observer
  28. 54:46Intersection Observer Entry
  29. 55:00Use Cases
  30. 56:28Threshold
  31. 1:01:10References
~/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.