NeovaNền tảng SEO chuyên sâu

Ảnh không được phục vụ ở định dạng hiện đại

Trong Neova Chạy khi bật Lighthouse, một thiết lập: nó dùng Chrome trên Mac của bạn.

Quy tắc được rà soát lần cuối ngày 17 tháng 10 năm 2026 · Hướng dẫn cập nhật ngày 21 tháng 9 năm 2026

Một ảnh sẽ nhỏ hơn ở định dạng hiện đại như WebP hoặc AVIF, nên khách truy cập tải về nhiều byte hơn mức cần. Đây là ngưỡng của Lighthouse. Không công cụ tìm kiếm nào đặt ngưỡng này.

Bạn có thể làm gì

Chuyển các ảnh bị đánh dấu sang WebP hoặc AVIF trong bước build hoặc qua CDN ảnh, kèm phương án dự phòng khi cần.

Vì sao Neova đánh dấu

  • web.dev nói file WebP thường nhỏ hơn 25-35% so với file JPEG và PNG tương ứng, nên khách truy cập tải ít byte hơn cho cùng một hình.
  • Hình nhỏ hơn tải nhanh hơn, giúp Largest Contentful Paint khi hình là phần tử chính.
  • Đây là mốc của Lighthouse, không phải quy tắc của công cụ tìm kiếm.

Nguồn

Hướng dẫn đầy đủ

Phần này tạm thời còn bằng tiếng Anh.

TL;DR, This audit fires when you're still serving JPEG or PNG where WebP or AVIF would deliver the same picture at a fraction of the bytes. Images are usually the heaviest thing on a page, so shipping them in an old format directly inflates load time and Largest Contentful Paint on the exact element users are waiting to see.

What This Check Flags

Lighthouse compares each image against a modern-codec version and reports the bytes you'd save by switching. WebP typically cuts 25 to 35% off a comparable JPEG; AVIF often cuts 50% or more at similar visual quality. On an image-heavy page that difference is measured in megabytes, and because the hero image is frequently the LCP element, the format you choose there decides how fast the page feels.

A Real Example, and the Fix

A product page ships a hero as a plain JPEG:

<img src="/checks/img/hero.jpg" width="1200" height="675" alt="Trail runner mid-stride">
<!-- 480 KB -->

Encode modern variants and let the browser pick the best one it supports, falling back cleanly to JPEG on anything that can't decode AVIF or WebP:

<picture>
  <source srcset="/img/hero.avif" type="image/avif">
  <source srcset="/img/hero.webp" type="image/webp">
  <img src="/checks/img/hero.jpg" width="1200" height="675"
       alt="Trail runner mid-stride" fetchpriority="high">
</picture>
<!-- AVIF ~180 KB, WebP ~300 KB, JPEG fallback preserved -->

Same picture, roughly 60% fewer bytes for browsers that support AVIF, and zero risk for the ones that don't.

Which Format Wins Where

WebP and AVIF are not interchangeable, and JPEG/PNG still have narrow jobs. Pick per image type rather than converting everything blindly.

Image Type Best Format Why Watch Out For
Photographic hero / product shot AVIF (WebP fallback) Best compression at high quality Slower encode; test decode on old devices
Screenshots, UI, flat graphics WebP lossless or AVIF Sharp edges without JPEG artifacts PNG only if transparency + tiny
Transparency (logos, icons) WebP / AVIF (both support alpha) Smaller than PNG, keeps alpha Consider SVG for simple shapes
Animated graphics WebP or AVIF Far smaller than animated GIF Prefer real video (MP4) for long clips

How to Detect It

  1. Lighthouse / PageSpeed Insights: open "Serve images in next-gen formats" under Opportunities. It lists each legacy image with the estimated byte savings, so you know exactly which files to convert first.
  2. DevTools Network tab: reload with the Network panel open, sort by size, and filter to Img. Anything large with a .jpg or .png extension and a Content-Type of image/jpeg or image/png is a conversion candidate.
  3. Response headers check: confirm the server actually serves the modern format by checking the Content-Type header of the delivered image, a .webp URL that returns image/jpeg means your pipeline isn't doing what you think.

How to Fix It

  1. Convert at the source. Batch-encode your library to AVIF and WebP with sharp, cwebp/avifenc, or your build pipeline, keeping the original as a fallback.
  2. Serve with <picture> or content negotiation. Either list <source> variants by type, or have your CDN read the Accept header and return the best format automatically.
  3. Let a CDN do it on the fly. Image CDNs (Cloudflare Images, Cloudinary, imgix) can transcode and resize per request, so you don't maintain variants by hand.
  4. Keep dimensions and priority right. Always set width/height to prevent layout shift, and add fetchpriority="high" to the LCP image so the format win actually lands on the metric.
  5. Pair with lazy loading below the fold. Combine next-gen formats with lazy loading so offscreen images don't compete with the hero for bandwidth.

Why This One Moves LCP More Than Most

Most performance audits shave milliseconds off scripting or rendering. This one attacks the single heaviest byte payload on a typical page, and that payload is often the LCP element itself. Cutting a 480 KB hero to 180 KB means the browser finishes downloading and painting the thing users are staring at far sooner, which is why format work shows up so cleanly in LCP improvements. It pairs naturally with deferring offscreen images and the broader discipline covered in image optimization: right format, right dimensions, right loading priority.

FAQ

Is AVIF Always Better Than WebP?

For compression at a given quality, usually yes, but AVIF encodes slower and decodes a touch heavier on very old devices. Serve AVIF first with WebP as the middle fallback and JPEG as the floor, and you get the best of all three.

Will Next-Gen Formats Break Older Browsers?

Not if you use <picture> with a JPEG/PNG <img> fallback. Any browser that can't decode AVIF or WebP silently falls through to the legacy source. Support for both formats is now near-universal on current browsers regardless.

Does Converting to WebP Hurt Image Quality?

At sensible quality settings (around 75 to 80), the difference is invisible for photos while the file is far smaller. Compare a converted sample against the original before committing your encoder settings.

Should I Convert PNGs Too?

Yes, especially large ones. WebP and AVIF both support transparency and usually beat PNG on size. Keep PNG only for tiny assets where the overhead isn't worth it, or move simple graphics to SVG.

My Images Are Already WebP but the Audit Still Fires, Why?

Either the server is serving them with the wrong Content-Type, or Lighthouse thinks AVIF would save meaningfully more. Check the delivered header, and consider adding an AVIF tier for your largest images.

Tìm lỗi này trên trang của bạn

Neova chạy mục kiểm tra này và mọi mục khác trong mỗi lần crawl, rồi viết cách sửa thành ticket cho nhóm của bạn.

  • Ứng dụng máy tính cho Mac, Windows và Linux
  • Tất cả 696 mục kiểm tra, mỗi mục kèm nguồn
  • Search Console và Analytics 4, kết nối chỉ đọc
  • Ticket sang Jira, Linear và Asana

Tải Neova Gói Desktop Free, hoặc dùng thử Solo miễn phí 14 ngày, không cần thẻ.

Tất cả mục kiểm tra Hình ảnh · Hướng dẫn · Thư viện mục kiểm tra

Do Neova Labs biên soạn · Quay lại Thư viện mục kiểm tra