Unverified Commit 9fad4740 authored by Michael Novotny's avatar Michael Novotny Committed by GitHub

Adds the "why" for `next/image` optimization (#51066)

Give a touch more context as to why one would want to use image optimization.

Fixes #30220
parent 1a0b5d25
...@@ -18,7 +18,9 @@ related: ...@@ -18,7 +18,9 @@ related:
</details> </details>
The Next.js Image component extends the HTML `<img>` element with: According to [Web Almanac](https://almanac.httparchive.org), images account for a huge portion of the typical website’s [page weight](https://almanac.httparchive.org/en/2022/page-weight#content-type-and-file-formats) and can have an sizable impact on your website's [LCP performance](https://almanac.httparchive.org/en/2022/performance#lcp-image-optimization).
The Next.js Image component extends the HTML `<img>` element with features for automatic image optimization:
- **Size Optimization:** Automatically serve correctly sized images for each device, using modern image formats like WebP and AVIF. - **Size Optimization:** Automatically serve correctly sized images for each device, using modern image formats like WebP and AVIF.
- **Visual Stability:** Prevent [layout shift](/learn/seo/web-performance/cls) automatically when images are loading. - **Visual Stability:** Prevent [layout shift](/learn/seo/web-performance/cls) automatically when images are loading.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment