Lighthouse audit total-byte-weight · Performance

"Avoid enormous network payloads": how to fix it in Lighthouse

Quick answer: Lighthouse flags "Avoid enormous network payloads" when the total transfer size of a page load is too large. A good score ends at about 2,667 KiB, and 4,000 KiB scores at the median. Fix it from the largest rows down: resize and convert images, replace autoplay video and GIFs, split JavaScript, and defer or remove third-party scripts.
View raw .md for LLMs / your notes

Lighthouse prints Avoid enormous network payloads when the page downloads too many bytes in total during load. The report line reads like "Total size was 4,318 KiB", followed by the ten largest requests. Every byte has to cross the network before the page is done, and on the throttled mobile profile Lighthouse uses, a large payload means slow LCP and a slow Speed Index. In our study of 269 Shopify storefronts, 217 of them (80.7%) failed this audit. This page covers the threshold, how to read the table, and the fixes that cut the most bytes for the least work.

TL;DR

What does "Avoid enormous network payloads" mean?

Lighthouse adds up the transfer size of every request the page made during the run: HTML, CSS, JavaScript, images, fonts, video, and third-party tags. Transfer size is the compressed size on the wire, so a file served with gzip or Brotli counts at its compressed size. Requests that never touched the network, such as data URIs, do not count.

The score uses a log-normal curve, per the audit source:

Total transfer sizeWhat Lighthouse does
Under about 2,667 KiBGood score, the audit passes
About 4,000 KiBMedian score, the audit fails
Well above 4,000 KiBScore falls toward zero

The table under the audit lists the ten largest requests by transfer size, with URL and size. It does not group them by type, so read the URLs.

The audit has no weight in the Performance score by itself in Lighthouse 13. It explains the score through the metrics: bytes on the critical path delay Largest Contentful Paint and Speed Index, and large scripts add to Total Blocking Time when they run. Large payloads also cost visitors on metered mobile data real money, which is why the audit description mentions it.

What usually makes the payload enormous?

Sort the table by size and read the top five. On most sites the pattern is one of these:

Largest rowsTypical causeFix first
.jpg, .png, .gifFull-size photos served to phones, no modern formatResize and convert (section 1)
.mp4, .webm, .gifAutoplay video or animated GIF in the first screenReplace or defer (section 2)
.js from your domainOne large bundle, unused code, legacy polyfillsSplit and trim (section 3)
.js from vendor domainsChat, reviews, ads, A/B testing, tag managersDefer or remove (section 4)
.woff, .woff2, .ttfMany font weights, full character setsSubset and limit weights (section 5)

On Shopify and WordPress storefronts, images and third-party scripts are the top rows on most failing pages.

How do I reduce the network payload?

1. Resize and compress images

An image wider than its largest display size wastes bytes on every phone. Serve each image at the widths it actually displays with srcset, and serve WebP or AVIF instead of JPEG or PNG.

<img
  src="/product-800.webp"
  srcset="/product-400.webp 400w, /product-800.webp 800w, /product-1600.webp 1600w"
  sizes="(max-width: 600px) 100vw, 50vw"
  width="1600" height="1600" alt="Linen shirt, white">

An image CDN or your platform's resize parameter does this without a build step. See Serve images in next-gen formats for the format half. Lazy-load images below the first screen with loading="lazy": Lighthouse only counts requests made during the run, so images well below the first screen, which Chrome does not fetch until the visitor scrolls near them, stop counting.

2. Replace autoplay video and GIFs

A hero video or a large animated GIF can be bigger than the rest of the page. Convert GIFs to MP4 or WebM, which are often a tenth of the size. For a hero video, show a poster image and start the video after load or on interaction, with preload="none".

<video autoplay muted loop playsinline preload="none" poster="/hero-poster.webp">
  <source src="/hero.webm" type="video/webm">
</video>

3. Ship less of your own JavaScript

Split the bundle by route so each page loads only its own code, remove unused libraries, and stop shipping polyfills to modern browsers. The Reduce unused JavaScript and Legacy JavaScript audits list the exact files. Make sure every text file is compressed: see Enable text compression.

4. Defer or remove third-party scripts

Vendor tags are often the largest JavaScript rows, and you cannot shrink their files. Your options: load chat, reviews and recommendation widgets after window.load or on first interaction, remove tags nobody uses (old pixels, abandoned A/B tests, duplicate analytics), and replace heavy embeds such as YouTube iframes with a lightweight facade that loads the player on click.

5. Subset and limit fonts

Each weight and style is a separate file. Keep two or three weights, serve WOFF2 only, and subset to the character sets you use. A Latin-only subset is often a fraction of the full file.

How do I fix it in Shopify or WordPress?

How do I verify the fix?

  1. Re-run Lighthouse. The total in Avoid enormous network payloads should be lower, and the top rows should change.
  2. In DevTools, open the Network panel, reload with Disable cache on, and read the transferred total in the status bar. Throttle to a mobile profile to see the effect on load time.
  3. Watch LCP and Speed Index. Those are the metrics a smaller payload moves.

What mistakes should I avoid?


Audit your URL at https://lighthouse-md.com.

Audit your page now

Paste your URL, get scores plus a CLAUDE.md plan for Claude Code.

Run audit →
Add us as a preferred source on Google

One click, and Google shows more of lighthouse-md.com in your search results.