Site AI Auditpor Internet Solutions

How to Read a Waterfall Chart and Find What Slows Your Page

11 de outubro de 20268 min de leituraVelocidade do site
How to Read a Waterfall Chart and Find What Slows Your Page

Short answer: A waterfall chart lists every request a page makes, one row per file, with a horizontal bar showing when it started and how long each phase took: DNS lookup, connection, TLS, waiting for the server and downloading. Read it from top to bottom. A long wait on the first row means a slow server. Stylesheets and scripts that start early and finish just before the first paint are render-blocking. Gaps and staircases show files discovered late or loaded in chains. Long bars from other domains point to third-party scripts. Fix the requests that sit on the path to the first paint and the largest element.

Where to find a waterfall chart

Several tools draw waterfalls:

Our comparison of speed testing tools explains which tool suits which question. For learning to read waterfalls, the browser’s Network panel is the easiest place to start because you can repeat tests instantly.

The anatomy of a row

Each row is one request: the URL, the type of file, the status code, the size and a bar on a timeline. The bar is split into coloured phases. Colours differ between tools, but the phases are the same:

Vertical lines across the chart mark events such as the first paint, DOMContentLoaded, Largest Contentful Paint and the load event. Everything to the left of the first paint line delays the moment the visitor sees anything.

Reading the first row: the HTML document

The first row is almost always the page itself. It sets the pace for everything else, because the browser cannot discover other files until the HTML starts arriving.

Spotting render-blocking files

Right after the HTML, the browser requests the files referenced in the page head. Stylesheets and synchronous scripts block rendering: the browser will not paint until they are downloaded and processed. In the waterfall they appear as early rows whose bars end just before the first paint line. Many tools mark them with a special icon or colour.

Look for:

The fixes are to combine or remove unnecessary CSS, defer scripts that are not needed for the first view and inline the small amount of critical CSS. Our guide to eliminating render-blocking resources covers each technique.

Gaps, staircases and late discovery

A healthy waterfall starts many requests early, in parallel. Two patterns show that the browser discovered files too late:

Staircases. One file finishes, then the next starts, then the next. This is a dependency chain: a CSS file imports another CSS file, which loads a font; or a script loads another script, which loads a third. Each step waits for the previous one. Break chains by referencing important files directly in the HTML, or by using preload for files the browser cannot see early.

Gaps. A period where little happens, followed by a burst of requests. This often means the browser was busy running JavaScript, or that content such as the main image was only inserted by a script. If your Largest Contentful Paint element is an image that starts downloading late in the waterfall, make it visible in the HTML, avoid lazy loading it and consider fetchpriority="high". Our guide to improving LCP goes deeper.

Third parties, heavy files and the long tail

Group the rows by domain. Most tools let you sort or colour by domain. Requests from analytics, advertising, chat widgets, video players, maps and social embeds often make up a large share of the waterfall. Ask for each one whether it is needed, whether it must load before the page is usable and whether it can be delayed until interaction.

Then sort by size. The heaviest files are usually images, videos, fonts and large JavaScript bundles. A single uncompressed hero image of several megabytes shows up as a very long download phase. Check also whether text files are compressed: the size column often shows both the transferred and the actual size, and a transferred size equal to the full size for CSS or JavaScript means compression is off.

Finally, look at status codes. Rows with 404 errors are wasted requests for missing files. Repeated 301 responses for assets mean outdated URLs in your templates.

First view versus repeat view

Compare the waterfall of a first visit with that of a second visit. On the repeat view, static files such as stylesheets, scripts, fonts and logos should come from the browser cache, shown in most tools as “memory cache” or “disk cache”, or as very short rows with a 304 status. If they are downloaded in full again, your caching headers are missing or too short, and every page view costs returning visitors the same as the first one. Our guide to browser caching shows how to set them. The HTML itself is usually revalidated or fetched again, which is normal.

A simple routine for any slow page

  1. Test the page with cache disabled and a mobile network profile.
  2. Check the first row: redirects and server waiting time.
  3. Find the first paint and LCP markers and list every request that ends before them.
  4. Remove or defer the render-blocking requests you do not need.
  5. Find the LCP resource and make sure it starts early.
  6. Sort by domain and size, and deal with the heaviest third parties and files.
  7. Retest and compare the waterfalls side by side.

Test more than once. Network conditions vary, and a single run can mislead. Our article on why speed scores change between tests explains the variation.

How Site AI Audit helps

Site AI Audit summarises what a waterfall would show you on the key points: Google PageSpeed results for mobile with LCP, CLS and INP, how long your server takes to respond, whether text files are compressed, how heavy the home page is, whether the server still uses HTTP/1.1 and which pages took more than two seconds to load during the crawl. Each finding comes with a plain-language fix, ranked by impact, so you know which part of the waterfall to look at first. You can run a free check, and the pricing page lists plans with unlimited re-checks.

Related reading

The bottom line

A waterfall chart turns “the page is slow” into a list of specific requests and delays. Start with the HTML row and its server time, then the render-blocking files before the first paint, then late-discovered files and chains, and finally third parties and heavy files. Fix what lies on the path to the first paint and the largest element, retest, and compare. After a few pages, you will read a waterfall at a glance.

FAQ

What does a long green bar on the first row mean?

In most tools that colour marks waiting time, the time the server takes to start answering. A long bar on the HTML document means the server builds the page slowly.

Why do some requests wait before starting?

The browser may queue requests because of priorities, connection limits or because it is busy running JavaScript. Long queueing on important files suggests they are discovered or prioritised too late.

Should I test with the cache disabled?

Yes, to see what a first-time visitor experiences. Test with the cache enabled as well to check that repeat visits use cached files.

Which requests should I fix first?

Those that finish before the first paint and the request for the largest visible element. They decide when visitors see the page.

Do fewer requests always mean a faster page?

Not always. With HTTP/2 and HTTP/3 many small requests are fine. What matters more is how early critical files start and how large they are.

#Core Web Vitals#Page speed#Speed testing
Verifique seu próprio site — grátis.O que corrigir no seu site — e por onde começar.
Comece grátis
Internet Solutions

Mais da nossa equipe

Feitas pela Internet Solutions. Experimente nossos outros produtos — cada um economiza seu tempo de um jeito diferente.

internet-solutions.net ↗