~/talk

How to Build Your Own Image Optimization Pipeline

Talkat PixelPalooza 2024 · on Thursday, 2024-11-21· [web-performance, web-platform]
name:Luis Ball
links:none on file
slides:none on file

Builds a self-hosted image pipeline using IPX + Sharp + libvips, served by a Hono app on Bun and integrated into Next.js via an app-dir API route and a custom loader. Demonstrates resizing, cropping and reformatting (example: resizing + WebP + q=20 turns a ~5MB JPEG into ~30KB), shows cached requests around ~100–155 ms locally and a first-generation miss around ~300 ms, uses an allowlist for remote domains, sets cache: max-age=60, stale-while-revalidate=60, and calls out CDN fronting and security risks (ImageMagick‑style exploits).

AI-written summary · about

  1. 0:00Introduction to image optimization
  2. 1:21Why image optimization matters
  3. 4:45Image compression techniques
  4. 8:51Setting up IPX server
  5. 17:21Adding IPX to Next.js
  6. 27:24Deploying to production
  7. 32:47Limitations of self-hosting
  8. 35:54Conclusion and Q&A
~/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.