← All articles

Performance

A practical performance checklist

Reduce unnecessary requests, bytes and rendering work.

On this page

  1. Measure first
  2. Prioritize visible content
  3. Repeat under realistic conditions

Measure first

Open the Network panel, disable the cache and reload. Sort by transferred size and inspect the waterfall to find slow resources.

Prioritize visible content

Serve appropriately sized images and reserve their dimensions. Lazy-load below-the-fold images, not the primary image that appears immediately.

Repeat under realistic conditions

Use network throttling and a slower CPU profile. Compare several runs; a single fast desktop result does not represent every visitor.

Example

<img src="photo.webp" width="800" height="450"
     loading="lazy" alt="A descriptive caption">

Related reading