Web Development
Modern Web Performance Essentials
Dec 2026 · 3 min read
A slow page loses people before they read a word. The essentials of modern web performance are not mysterious: watch three numbers, respect images, ship less JavaScript, and measure on real devices.
Performance is not a technical luxury. Every extra second a page takes to load is a second in which a visitor can give up, and on the slower phones and networks that much of the world actually uses, heavy pages simply never arrive. The good news: modern performance work rests on a few clear ideas, and three numbers tell you most of what you need to know.
The three numbers that matter
Core Web Vitals measure what a visitor feels. Largest Contentful Paint (LCP) asks how quickly the main content appears — the headline, the hero image, the thing the person came for. Interaction to Next Paint (INP) asks how quickly the page responds when someone taps or types. Cumulative Layout Shift (CLS) asks whether the page jumps around while loading, moving buttons just as a finger reaches for them.
You do not need to memorise thresholds to use these well. You need to know which of the three is hurting, because each has different causes and different cures.
Images are usually the heaviest thing
On a typical page, images outweigh everything else combined. The fixes are unglamorous and effective: serve images at the size they are actually displayed instead of shipping a huge original into a small frame; use modern formats such as WebP or AVIF, which carry the same picture in fewer bytes; and lazy-load images below the fold so the first screen is not queued behind a gallery nobody has scrolled to yet. The one image that defines the first impression — usually the hero — should load eagerly and never wait in that queue.
Ship less JavaScript
JavaScript is the most expensive thing a page can carry, because the phone must download it, parse it, and run it before the page feels alive. Audit what you ship: a library pulled in for one small feature, a component that hydrates eagerly though it sits at the bottom of the page, code for browsers and cases that never occur. Load interactive extras when they are needed — on scroll, on click — instead of all at once, and prefer work the server can do once over work every visitor's phone repeats.
Measure on real devices
A fast laptop on office Wi-Fi is a liar. Test on a mid-range phone, on a throttled connection, in the conditions your audience actually has. Field data — measurements from real visits — matters more than any lab score, because it includes the devices and networks you forgot to imagine. Performance is a habit, not a one-time fix: check the three numbers whenever you ship something new, and treat a regression like a bug. A fast page is a respectful page, and respect is what keeps people reading.
Tags
- Performance
- Core Web Vitals