~/talk

Improving Media Content Performance with Service Workers

Talkat BuzzJS 3.1 2018 · 2018-06-14..06-15· [web-platform, web-performance]
slides:none on file

Service workers intercept fetch requests to resize and serve lower-dimension images and video when network or device signals indicate trouble, cutting bytes and memory use — demo shows a 248KB image served as ~6KB under 2G emulation. Code uses the fetch event, navigator.connection effectiveType, Save-Data client hint and deviceMemory checks, and can return range responses for progressive loads. Implementations (Flipkart, housing.com) report higher conversion and lower bounce.

AI-written summary · about

  1. 0:00Introduction and context
  2. 1:25Why service workers matter
  3. 7:08Web performance challenges
  4. 9:15What service workers do
  5. 12:47Setting up a service worker
  6. 15:18Optimizing media with service workers
  7. 19:36Reducing image bytes effectively
  8. 24:20Live demo of service worker
  9. 27:17Progressive images and range requests
  10. 30:31Real-world service worker results
  11. 32:20Browser support and adoption
  12. 33:22Optimizing for all users
  13. 34:26Q&A session
~/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.