~/talk

Supercharged Live Live Live!

Talkat Polymer Summit 2017 · 2017-08-22..08-23· [javascript, web-platform]
slides:none on file

Builds a sc-img custom element that uses Shadow DOM and template cloning to style and scope images, hooks native IntersectionObserver to only start loading when an element intersects the viewport, and replaces immediate downloads (page started at ~1.4 MB) with on-demand fetches (first image ~265 KB). Adds a Node/Express postprocessor that reads image dimensions with GraphicsMagick to emit CSS aspect-ratio placeholders and inline base64 low‑res thumbnails, then fades the high‑res image in for a smooth transition.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 0:50Project goal: lazy loading
  3. 2:39Building the custom element
  4. 5:05Shadow DOM and styling
  5. 8:06Intersection Observer API
  6. 12:31Refining component logic
  7. 17:55Server-side image handling
  8. 21:15Extracting image metadata
  9. 27:14CSS aspect ratio hack
  10. 31:31Thumbnail and base64 blur
  11. 37:25Animations and conclusion
~/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.