~/talk

enhanced:img, handling images in Svelte and Kit

Talkat Svelte Summit Fall 2023 · on Saturday, 2023-11-11· [web-performance]
links:none on file
slides:none on file

SvelteKit’s Enhanced Image preprocessor automatically converts Vite asset images to AVIF and WebP with hashed filenames for long caching, generates multiple dimensions including 2x for high-density displays, and auto-inserts width and height to prevent layout shift. It accepts Vite asset paths and mustache-tagged sources, supports import.meta.glob for batch processing, and can shrink a mobile image example down to ~1% of the original bytes. The output is a single string replacement for fast DOM insertion and hydration.

AI-written summary · about

  1. 0:00The problem with images
  2. 1:33Performance issues
  3. 3:42Enhanced image solution
  4. 5:09Advanced usage and optimization
  5. 5:49Vite integration and announcement
~/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.