High-quality, performant images & videos on your React website (and some AI magic!)
summary
Starts from a 64 Lighthouse score and shows concrete steps to reach about 94 by swapping plain img/video tags for the ImageKit SDK components, enabling automatic format conversion and lazy loading. Demonstrates a 10 MB video becoming ~2 MB and a GIF shrinking from 63 KB to ~21 KB, adds responsive sizes and a priority/preload hint with Next.js so LCP loads earlier, and replaces images using ImageKit generative transforms to change backgrounds or expand square assets into vertical layouts.
AI-written summary · about
chapters (9)
- 0:00Introduction to media optimization
- 2:37Starting with unoptimized media
- 4:01Replacing image and video tags
- 6:54Responsive images with sizes attribute
- 8:18Preloading largest content image
- 9:44Replacing GIFs with videos
- 11:10AI-powered background transformations
- 13:19Generative fill for vertical images
- 14:10Summary and Q&A
related talks
32mImproving Lighthouse score for media-heavy React applications
26mFast and Beautiful Modern Image Delivery Techniques
32mDelivering Native Video Experiences in React Apps
25mDelivering Fast and Beautiful Images and Video
46mFast and Beautiful Modern Image Delivery Techniques
48mFast and Beautiful: Modern Image Delivery Techniques
31mDelivering Fast and Beautiful Images and Video
38mSecret Shortcuts of Loading Web Performance
