1. Home
  2. Blog
  3. Web Performance

Web Performance

Make sites feel instant: Core Web Vitals, INP, caching headers, prerendering and view transitions.

Flat vector illustration of a web page card whose content blocks are held steady by an orange-red reserved frame, while a dashed outline shows where a block would have jumped down
Web Performance 15 min read

Cumulative Layout Shift (CLS): How to Find and Fix What Moves Your Page

Cumulative Layout Shift measures how much your page jumps around while people use it. Here’s how the CLS score is calculated, what counts as unexpected, the usual causes, fixes for images, ads, embeds, web fonts and banners, measuring it with PerformanceObserver and web-vitals, and why Lighthouse and Search Console disagree.

Flat vector illustration of a browser window with a large back arrow button, and a frozen snapshot of the previous page held in a memory card beside it, ready to slide straight back into the window, with the back arrow highlighted in orange-red
Web Performance 15 min read

bfcache: How to Make Back Button Navigation Instant (and What Blocks It)

bfcache keeps a page frozen in memory so the back button restores it instantly. Here’s what blocks it, from unload listeners and Cache-Control: no-store to open connections, plus how I test it in DevTools and refresh stale data on restore.

Flat vector illustration of a browser window whose large hero image loads first, carried by an orange priority arrow ahead of a queue of smaller page resources, beside a stopwatch
Web Performance 21 min read

LCP Image Optimization: Make Your Hero Image Load First With fetchpriority, Preload, and srcset

How I fix a slow LCP image: skip lazy-loading, add fetchpriority=high, preload only when needed, and size srcset right in Next.js and WordPress.

Flat vector illustration of a browser window with a small cache shelf of files, where an orange-red return arrow serves a repeat visit instantly from the browser cache instead of travelling to the origin server
Web Performance 19 min read

Cache-Control Headers in 2026: Caching Rules That Make Repeat Visits Instant

How I set Cache-Control headers on client sites: hashed assets cached for a year, HTML revalidated with ETags, private pages kept out of shared caches, and CDN rules that just work.

Flat vector illustration of a browser window with a cursor hovering a link while the next page is already prerendered behind it, outlined in orange-red
Web Performance 20 min read

Speculation Rules API in 2026: Prerender the Next Page Before the Click

How I use the Speculation Rules API on client sites: prefetch vs prerender, document rules, eagerness levels, safe exclusions, prerender-aware analytics, and WordPress 6.8 speculative loading.

Vector illustration of a tap on a phone triggering an instant interface update on a laptop, representing Interaction to Next Paint
Web Performance 11 min read

Interaction to Next Paint in 2026: Fix Slow Clicks Before They Cost Rankings

If your site looks fast but feels sticky when people tap a button, Google already knows. Interaction to Next Paint (INP) is the Core Web Vital that measures how quickly your page responds after a click, tap, or keypress. In 2026 it is still one of the clearest signals that separates a polished product from […]

An image card smoothly morphing from one web page to another during a cross-document view transition
Web Performance 12 min read

Cross-Document View Transitions in 2026: Smooth Page Changes Without an SPA

Learn cross-document view transitions for MPAs in 2026: @view-transition navigation auto, view-transition-name, pageswap, pagereveal, timeouts, aspect-ratio warping, and when to skip the SPA router.

Up and down to move, Enter to go, Esc to close

Before you go

Planning a website launch?

Read the checks I run before any site goes live: speed, SEO, forms, accessibility and backups.

Read the launch checklist Ask on WhatsApp