Ship Less JavaScript with Astro
summary
Claims that images dominate web weight with 99.9% of pages requesting images and Cloudinary serving 199 billion requests/month, then demonstrates concrete fixes: replace giant JPEGs (one demo shrinks a 12 MB hero to an AVIF fraction), avoid lazy-loading the LCP image, use f_auto, q_auto and LQIP placeholders, set fetchpriority, and prefer prebuilt HTML and image CDNs. Shows Chrome Performance Insights, Lighthouse/PageSpeed Insights and a Netlify demo proving LCP falls under the 2.5s target after these changes.
AI-written summary · about
chapters (16)
- 0:00Introduction and warm-up
- 2:13Why image optimization matters
- 5:47Evolution of the image element
- 7:32Image formats overview
- 10:01Understanding image fidelity
- 14:57Core Web Vitals and LCP
- 18:04Optimizing LCP for images
- 21:14Measuring performance with real data
- 24:05Cloudinary features for images
- 25:29Low quality image placeholders
- 27:11Serving the right image format
- 28:39Source sets and device pixel ratio
- 30:50Fetch priority for LCP
- 31:51Common image optimization mistakes
- 32:31Live demo of LCP improvements
- 34:57Q&A and closing remarks
