Guide - Site Performance
Date: 2026-10-30
The whole job in the order it happens: decide in pounds whether speed is costing money, find the failing template × device × metric in field data, reproduce it in the lab, split the metric into its phases to find the bottleneck, fix cheapest and broadest first, prove it in the field, then hold it with a gate. Concepts link out — this guide does the sequence and the arithmetic.
Site performance work is finding where real customers wait, fixing the cause rather than the score, and keeping it fixed — treated as a conversion lever with its own budget, not an engineering hygiene task. It’s the conversion rate optimisation (CRO) lever that isn’t a design change: nothing about the page’s content or persuasion moves, only how long it makes people wait.
Same invented UK retailer as Guide - Ecommerce CRO and Guide - Running an Experiment: 120,000 sessions a month, 2.40% conversion, 2,880 orders, £23.01 contribution per order, £0.552 contribution per session. 72,000 sessions view a product. Picks up audit row F5 — “product page, mobile, slow at p75; slowest quartile converts worst; unsized; correlation only; RESEARCH” — and takes it to a number.
New figures introduced here, all invented, all used consistently below:
device mix mobile 70% of sessions, desktop 30%
mobile product-viewing 72,000 × 70% = 50,400 sessions / month
sessions
their conversion 3.21% (1,616 orders) ← vs 4.0% across all
product viewers
The sequence
STAGE QUESTION OUTPUT §
0 Worth it? does speed plausibly cost us money? a £ range, honest about cause 1
1 Field which metric × template × device fails? one located failure 2
2 Lab can I make it happen on demand? a reproducing test setup 3
3 Bottleneck which phase of the metric is long? a cause, not a symptom 4
4 Fix cheapest, broadest first changes, verified in lab 5
5 Prove did real customers get faster, and £? field before/after, in £ 6
6 Hold how does it stay fixed? budget, build gate, alerts, owners 7
Field to find, lab to fix, field to confirm — the loop from Field vs Lab Data and Synthetic Monitoring, with a commercial decision at the front and a gate at the back.
1. Decide whether it’s worth it
The question isn’t “are we fast?” but “is speed costing orders we could have kept, and how many?” A site that passes everything has no case; a site failing on a template that carries most of the revenue has a large one.
Why borrowed numbers don’t work
The “every 100ms costs 1%” family doesn’t transfer, for reasons Performance and Conversion sets out: other businesses, mostly correlational, often vendor-published, and non-linear — going from 6s to 5s isn’t the same intervention as 2.6s to 1.6s. Use them for nothing, including a sanity check.
The confound is the user, not the page. Fast sessions happen on newer phones, better connections and in richer postcodes — people who’d convert better on a slow page too — Confounding Variables.
In plain terms: in your own data, the fast visits convert better partly because they were fast and partly because the people having them were different people. Any comparison of fast and slow visits overstates what speed alone is worth.
Estimating it on your own data
Needs Real User Monitoring (RUM) joined to orders — setup in Guide - Site Instrumentation. Bucket sessions by the Largest Contentful Paint (LCP) of their first product page view — when the main content finished rendering — and compare conversion within one device and one template, which removes the two largest confounders before you start (Simpson’s Paradox if you don’t).
Mobile product-viewing sessions, one month. RUM only covers consented sessions, so these are scaled up to the 50,400 — which assumes decliners look like accepters (Consent Management):
LCP of first product view sessions share orders conv. rate
< 2.5s (good) 24,000 47.6% 900 3.75%
2.5–4.0s (needs improvement) 17,400 34.5% 513 2.95%
> 4.0s (poor) 9,000 17.9% 203 2.25%
─────── ─────
50,400 1,616 3.21%
A gradient — and a gradient is information: it says where the cliff is and that the slow buckets are big. It is not a cause.
The upper bound — every slow session made fast, and the whole gap caused by speed:
2.5–4.0s bucket 17,400 × (3.75% − 2.95%) = 17,400 × 0.0080 = 139 orders
> 4.0s bucket 9,000 × (3.75% − 2.25%) = 9,000 × 0.0150 = 135 orders
───
274 orders / month
274 × £23.01 × 12 ≈ £75,700 / year
Neither assumption holds. A plausible figure — the same haircut Performance and Conversion uses — moves half the slow sessions under 2.5s and credits a third of the gap to speed:
274 orders × 50% moved × ⅓ causal = 45.7 orders / month
45.7 × £23.01 × 12 ≈ £12,600 / year
So F5 is worth somewhere around £12,600 a year, with £75,700 as a ceiling nobody should quote. One template, one device, one metric. Category pages, desktop and Interaction to Next Paint (INP) — responsiveness — aren’t in it.
In plain terms: fixing mobile product-page loading is probably worth five figures a year to this retailer, not six. The six-figure number assumes every slow visit would have converted like a fast one, which nobody believes once it’s said out loud.
What this tells you to do:
- Compare it to the cost. Ten developer days against £12,600 a year pays back inside a year. Six months of a platform rebuild doesn’t — and F1 (£94,000 upper bound) still outranks F5 in Guide - Ecommerce CRO
- Size every failing template × device the same way before choosing. They don’t add, for the same reason audit rows don’t — a session that sees three slow templates is counted three times
- The estimate is biased low as well as high. Sessions that left before the page rendered may never have sent a measurement, so the slowest bucket is under-counted — Survivorship Bias
The arguments that don’t need a number — keep them in reserve, because they’re often stronger than the estimate: layout shift causing mistaps on “Add to basket”, a frozen size selector on the product page, and a ranking signal that’s modest but free. Performance and Conversion lists them.
2. Field data first — find the failure
Four coordinates, all four needed: metric × template × device × percentile. “The site is slow” isn’t located. “Mobile product pages, LCP p75 3.7s” is.
The thresholds
From Core Web Vitals, verified against web.dev on 2026-10-30:
| Metric | Measures | Good | Poor |
|---|---|---|---|
| LCP | loading — main content rendered | ≤ 2.5s | > 4.0s |
| INP | responsiveness — tap to visible response, worst-ish across the visit | ≤ 200ms | > 500ms |
| Cumulative Layout Shift (CLS) | visual stability — how much moved unprompted | ≤ 0.1 | > 0.25 |
| Time to First Byte (TTFB) — diagnostic, not a Core Web Vital | navigation start to first byte of the page’s HyperText Markup Language (HTML) | ≤ 0.8s | > 1.8s |
Assessed at the 75th percentile (p75) — the value 75% of page loads beat — per device class. A template passes when p75 meets all three.
Why p75 rather than the average: load times are right-skewed — most cluster low, a few are catastrophic — so the mean describes no real visit. p75 is “a realistic bad-ish experience” — Percentiles in Performance.
In plain terms: passing at p75 still means one load in four is slower than the threshold. It’s what the standard accepts, not “everyone’s fine”.
Which source, for what
SOURCE GRANULARITY LAG USE IT FOR
Chrome User Experience origin; page if enough 28-day whether you pass, as
Report (CrUX) traffic; phone/tablet/ rolling, Google sees it; the
desktop updated number stakeholders quote
daily
Search Console groups of similar pages same which page groups fail
Your RUM anything you collected: none WHO is failing: template,
template, device, country, device, phase, element,
source, consent, phase and the join to orders
CrUX is a 28-day rolling aggregate, updated daily and running about two days behind (verified, developer.chrome.com, CrUX API docs). It answers whether. RUM answers who and why, and it’s what the rest of this guide works from.
Segment before you average — the worked example
CrUX for the origin, mobile: LCP p75 2.3s — passing. The temptation is to stop there.
RUM, mobile, by template:
template share of mobile loads over 2.5s LCP p75
page loads
home 20% 8% 1.7s ✓
category 30% 12% 2.0s ✓
product 32% 52% 3.7s ✗ ← F5
other 18% 6% 1.4s ✓
(basket, content, checkout)
The product page fails badly and the site passes anyway. Here’s how, step by step — and it’s the one way of combining templates that is legitimate:
share of ALL mobile loads over 2.5s = Σ (template share × that template's share over 2.5s)
home 0.20 × 0.08 = 0.016
category 0.30 × 0.12 = 0.036
product 0.32 × 0.52 = 0.166
other 0.18 × 0.06 = 0.011
─────
0.229 → 22.9% of mobile loads are over 2.5s
22.9% < 25% → over 75% are under 2.5s → site p75 is under 2.5s → "passes"
Two things to notice:
- Shares over a threshold combine; percentiles don’t. The weighted share is valid because it’s a proportion of loads. Averaging the four p75s — (1.7 + 2.0 + 3.7 + 1.4) ÷ 4 = 2.2s — is meaningless, and happens to look like the answer, which is worse — Percentiles in Performance
- The failing template is the one that matters most. Product pages are where the decision to buy happens; the pass is bought with fast “other” pages nobody converts on
Counterintuitive, and why: a site-wide pass feels like a floor — “at least nothing is terrible”. It’s the opposite. A weighted measure can be held under the line by large volumes of easy pages while the one carrying the revenue fails, and it gets more misleading the more templates you have.
Then cut the failing template further, in this order, stopping when a cut explains the failure:
- Device — already done; mobile and desktop are different sites
- Metric — all three. Here: product, mobile — LCP 3.7s ✗, INP 280ms ✗ (needs improvement), CLS 0.04 ✓. Two separate projects with almost no shared cause — Core Web Vitals
- Cache state / first vs repeat view — a bimodal distribution (two humps) almost always means something binary: cache hit vs miss, consent granted vs denied
- Consent state — tags load only after consent, so accepters can be slower than decliners. Matters for §3
- Country and connection — physics, not code, if it’s all overseas — Time to First Byte
- Traffic source — paid social lands in in-app browsers with their own performance characteristics
Sample size: a p75 on 40 loads is noise. Low-traffic templates need a longer window before their number means anything — Sampling Error.
Output of this stage: one row. Mobile product page — LCP p75 3.7s (52% of loads > 2.5s); INP p75 280ms. Worst for consented, first-view sessions.
3. Reproduce it in the lab
A lab run that doesn’t reproduce the field failure is measuring a different page. The single most common waste in performance work is diagnosing the developer’s experience — fast laptop, office fibre, warm cache, logged in, consent long since accepted, no tags because of an ad blocker.
Match the field conditions — the setup to copy:
LAB SETUP — reproduce F5 matches field row
device mobile emulation, processor slowed 4–6× mobile, mid-range Android
network slow 4G profile p75 connection, not the median
page an ordinary product, not the flagship template, not the best-cached page
cache cold first view (the failing segment)
session logged out, empty basket new visitor
consent run TWICE — accepted, and declined tags differ by consent state
blockers none; extensions off real tag load
experiments force one variant per run else you sample two pages
location UK where customers are
runs median of 5 minimum, 9 better one run is noise
Central processing unit (CPU) throttling — artificially slowing the processor to stand in for a cheaper phone — is the setting most often skipped, and INP is invisible without it — Field vs Lab Data.
Check you’ve reproduced it. Lab median LCP 3.4s against field p75 3.7s, consent-accepted: close enough — same order, same element, same waterfall shape. Lab 1.8s means you haven’t reproduced anything yet; change conditions until you do. Don’t compare the lab number to the 2.5s threshold — the threshold is a field p75, and a lab run is one point on a made-up phone.
Report median and spread, not one number: “3.4s, spread 0.5s” — Synthetic Monitoring has why a single run lies.
What the lab can’t show
- INP, properly. INP needs real interactions across a real visit. A page load script doesn’t tap anything. Two partial substitutes: Total Blocking Time (TBT) — main-thread time blocked by long tasks during load — as a proxy for congestion; and a manual throttled trace where you tap the size selector and “Add to basket” yourself. RUM attribution — which element, which phase, which script — is the real source — Interaction to Next Paint
- Long-session degradation. Every lab run is a fresh load. A product page that’s fine on load and sluggish after browsing twelve products is invisible — Memory and Long Sessions
- The distribution. The lab is a point; customers are a spread. Never quote a lab number as “our LCP”
4. Find the bottleneck, per metric
Every Core Web Vital decomposes into phases, and the fix depends entirely on which phase is long. Optimising before splitting is how teams compress an image that was never the problem.
LCP — four phases
From Largest Contentful Paint; web.dev names them TTFB, resource load delay, resource load duration and element render delay, and gives a rough healthy split (verified 2026-10-30):
TTFB server + network until the first byte of HTML ~40%
load delay first byte → browser STARTS fetching the LCP resource <10%
load duration downloading the LCP resource ~40%
render delay resource arrived → it's painted <10%
Don’t sum p75s of phases — the slow-server load isn’t the same load as the slow-image one. Take the phases within loads near p75. RUM attribution, mobile product page, a representative load at 3.7s:
phase time share healthy
TTFB 0.65s 18% ~40%
resource load delay 1.70s 46% <10% ← the problem
resource load duration 0.95s 26% ~40%
element render delay 0.40s 11% <10% ← minor
─────
3.70s
Load delay is 1.7s: the browser didn’t start fetching the product image until 1.7s after it had the HTML. Compression won’t help — the image downloads in under a second once asked for. The lab waterfall says why: the main image is the first slide of a carousel, its address lives in a data attribute read by JavaScript (JS), and the carousel script inserts the <img> — with loading="lazy" — after it downloads and runs. The browser’s preload scanner, which finds resources in the raw HTML before parsing finishes, never sees it — Document Parsing.
The 0.40s of render delay is the testing tool’s anti-flicker snippet — Cascading Style Sheets (CSS) hiding the body until the experiment library loads — Flicker and Flash of Original Content.
INP — three phases
From Interaction to Next Paint: input delay (waiting for the main thread), processing (your handlers), presentation (style, layout, paint). RUM attribution, mobile product page, “Add to basket” taps near p75:
interaction: tap "Add to basket" phase time
input delay 170ms ← thread busy with a review widget's task
processing 80ms ← handler awaits tracking before opening drawer
presentation 30ms
─────
280ms
Input delay dominates, which is the counterintuitive part: the tap was slow because something unrelated was running. Optimising the handler alone would save at most 80ms. The thread is shared — one thread runs scripts, handlers and rendering — The Event Loop · Long Tasks and Blocking.
CLS — sources
Attribution names the element that moved and its session window. Usual order: images without dimensions, late ads/embeds/reviews, fonts swapping, banners inserted above content — Cumulative Layout Shift. Passing here, so no work — but check the fix in §5 doesn’t create a shift.
The diagnosis table
| Symptom (field, attribution) | Likely cause | Where to look | Concept |
|---|---|---|---|
| LCP slow, TTFB large | redirect chain; uncached HTML; slow origin; distance | document request timing; cache-hit rate by template; curl -IL for redirects | Time to First Byte · CDN Caching |
| LCP slow, load delay large | LCP image injected by JS, CSS background, lazy-loaded, or behind a carousel | does the <img> exist in view-source? loading attribute? | Largest Contentful Paint · Lazy Loading · Priority Hints |
| LCP slow, load duration large | oversized image, wrong format, no srcset, third-party image host | bytes of the LCP resource vs displayed size | Image Optimisation · Modern Image Formats |
| LCP slow, render delay large | render-blocking CSS or JS; anti-flicker snippet; web font hiding text | what’s in <head> before the body can paint | Render-Blocking Resources · The Critical Rendering Path · Font Loading |
| LCP p75 bimodal | cache hit vs miss; consent accepted vs declined | split RUM by cache status and consent | HTTP Caching · Percentiles in Performance |
| INP slow, input delay large | third-party tasks, hydration (a framework attaching JS to server-rendered HTML), long tasks at load | long tasks by script source in a throttled trace | Third-Party Scripts · Tag Manager Performance |
| INP slow, processing large | handler awaits network (tracking!) before updating the screen; heavy work in handler | the handler named in attribution | Interaction to Next Paint · Tasks and Microtasks |
| INP slow, presentation large | big Document Object Model (DOM) — the page’s element tree; layout thrash on interaction | layout/paint after the handler in the trace | JavaScript Execution Cost |
| INP worsens over a visit | leaks, listeners piling up, tags loading late | INP by page-in-session number | Memory and Long Sessions |
| CLS high on mobile only | late content above the fold; images without dimensions | attribution element; slow-connection lab run | Cumulative Layout Shift |
| Everything slower since a date, no deploy | a tag added or grown in the tag manager; vendor change | container version history vs RUM timeline | Annotation and Change Logs |
Cheapest cause first. Before an interesting explanation, check the boring ones: a tag added last month, a lazy attribute on the hero, a redirect after a migration.
5. Fix — cheapest and broadest first
Order by cost × reach, not by which metric is worst. A change to the tag manager reaches every template; a change to one template’s markup reaches one. On retail sites the order is nearly always:
FIX REACH COST MOVES
1 third parties & tag manager every template low INP input delay, LCP render delay
2 LCP element discoverable & sized per template low LCP load delay, load duration
3 images generally every template low–med LCP load duration, CLS
4 fonts every template low LCP render delay, CLS
5 critical path (CSS/JS in <head>) every template medium LCP render delay
6 caching / CDN / redirects every template varies TTFB
7 JS cost — splitting, removal per bundle high INP, LCP render delay
1. Third-party scripts and the tag manager
Usually the largest controllable cost on a retail site, and the one nobody owns. The tag manager isn’t slow; it’s the hole in the process that lets scripts arrive without review — Tag Manager Performance · Third-Party Scripts.
- Measure the whole container first — block it in a throttled lab run and compare LCP and TBT. “The container costs 600ms of LCP and 900ms of blocking time” is the sentence that gets things removed
- Remove anything without an owner or a decision it informs. Always first
- Anti-flicker snippet — shorten the timeout, scope it to pages with a live test, or move testing server-side. Here: the 0.40s render delay
- Defer on interaction or idle — chat on bubble click (a facade: a lightweight placeholder that loads the real thing on demand), reviews when scrolled near
- Scope triggers — most tags don’t need every page
- Server-side for vendors that only need data — Server-Side Tag Management
2. The LCP element — the one mechanism worth showing
The fix for F5’s 1.7s load delay. The main image goes in the server-rendered HTML as a real <img>, sized, prioritised, never lazy. Later slides stay lazy.
<!-- BEFORE: first slide injected by carousel JS — invisible to the preload scanner -->
<div class="pdp-carousel" data-slides='["/p/4417-1.jpg","/p/4417-2.jpg"]'></div>
<!-- AFTER: first slide in the HTML; the carousel enhances it rather than creating it -->
<div class="pdp-carousel">
<img src="/p/4417-1-800.jpg"
srcset="/p/4417-1-400.jpg 400w, /p/4417-1-800.jpg 800w, /p/4417-1-1200.jpg 1200w"
sizes="(max-width: 768px) 100vw, 50vw"
width="800" height="800"
fetchpriority="high"
alt="Oak bedside table, front view">
<!-- width/height: reserves space, so no layout shift
fetchpriority="high": fetched ahead of other images
NO loading="lazy": lazy on the LCP image always adds load delay -->
<img src="/p/4417-2-800.jpg" width="800" height="800"
loading="lazy" fetchpriority="low" alt="Oak bedside table, side view">
</div>Notice: the carousel JS must adopt the existing <img>, not replace it — a script that clears the container and re-renders brings the delay straight back, and a shift with it. web.dev’s guidance: fetchpriority="high" on one or two images at most, or it stops meaning anything; if the image genuinely can’t be in markup, <link rel="preload"> with high priority — Priority Hints · Resource Hints. Format via <picture> — Modern Image Formats.
3–7. The rest, briefly
- Images — right dimensions per breakpoint, modern format,
srcset, dimensions on everything, lazy below the fold only — Image Optimisation · Lazy Loading - Fonts — fewer weights, preload the one the LCP text uses, metric-matched fallback so the swap doesn’t shift — Font Loading
- Critical path — nothing synchronous in
<head>that the first paint doesn’t need;deferscripts; critical CSS inline only if measurable — Render-Blocking Resources · The Critical Rendering Path - Caching and TTFB — redirect chains first (each is a full round trip), then HTML cached at the content delivery network (CDN) edge, then the origin — HTTP Caching · CDN Caching · Time to First Byte. Here TTFB is 0.65s and under the healthy share — leave it
- JS cost — open the bundle before optimising it; the largest item is usually a dependency nobody chose, and the fix is deletion — Bundle Analysis · Code Splitting · JavaScript Execution Cost
- INP processing — update the screen first, track afterwards. Never
awaitan analytics call before opening the basket drawer — the 80ms above — Interaction to Next Paint
Platform constraints
On a hosted platform, what you can fix narrows to what you ship to the browser.
- Hosted themes (e.g. Shopify) — HTML rendering and caching are the platform’s and largely opaque, so TTFB is mostly out of reach. Theme markup, images, fonts and scripts are yours. Apps inject script; uninstalling is usually the biggest lever, and older apps leave code behind in the theme. Hosted checkout steps are mostly untouchable
- Edge and hosting platforms (Cloudflare, Vercel) — TTFB and caching become yours to configure, which is a lever and a way to break things — cache keys, invalidation
Record what can’t be changed as a known limit on the row, as the CRO audit does, rather than leaving it to be rediscovered.
Verify before shipping
Lab, against a baseline run in the same session, same machine, same settings — never against a stored number from last week. Median of 9:
base branch fix branch delta
LCP (median, 9 runs) 3.40s (±0.25) 2.15s (±0.20) −1.25s ← well outside noise
load delay 1.62s 0.12s
TBT 840ms 410ms container trimmed
CLS 0.04 0.02 dimensions reserved
That proves the change does what it should. It doesn’t prove customers got faster — that’s §6.
6. Prove it
Two separate claims, proved separately: real customers got faster, and that’s worth £X. The first is easy to prove. The second almost never is, directly — and saying so is part of the job.
Did customers get faster?
Use RUM, not CrUX, to decide. CrUX’s 28-day rolling window means a fix shipped today is fully in the public number only after four weeks; two adjacent weeks are mostly the same data. Search Console catches up on the same lag.
RUM before and after, done properly:
- Whole weeks, same weekdays, either side, with the deploy week excluded
- Same segment definition — mobile, product page, first view
- Check the mix didn’t move — device, channel, consent rate. A campaign shifting traffic toward in-app browsers moves p75 with no code change
- A control template you didn’t touch. If category pages also moved, something other than your fix did it — this is Difference-in-Differences in miniature
- Look at the histogram, not just p75
The field result, invented:
mobile product page before after category (control)
LCP p75 3.7s 2.3s ✓ 2.0s → 2.0s
loads over 2.5s 52% 22%
INP p75 280ms 190ms ✓
CLS p75 0.04 0.03
The mechanism is proved. Performance metrics move per load, on tens of thousands of loads, so a shift from 3.7s to 2.3s is not noise.
Was it worth it — and why the conversion rate can’t tell you directly
The tempting read: compare mobile product-page conversion the month before and after. It doesn’t work, and the arithmetic says why.
Plausible effect: the §1 estimate is ~46 orders a month on 1,616 — about a 2.8% relative lift (3.21% → 3.30%).
Before/after noise. The standard error (SE) — the typical size of random month-to-month wobble in a measured rate — for 3.21% on 50,400 sessions, in percentage points (pp) — absolute differences between rates:
SE of one month's rate = √(p × (1 − p) ÷ n)
= √(0.0321 × 0.9679 ÷ 50,400)
= √(0.000000616)
≈ 0.079pp
SE of a difference = √2 × 0.079 ≈ 0.111pp (two independent months)
effect we expect = 45.7 ÷ 50,400 ≈ 0.091pp ← less than ONE standard error
In plain terms: the change we expect is the same size as the random wobble between any two months. A rise could be luck; a fall wouldn’t mean it failed. And that’s before seasonality, promotions and traffic mix, which move a month far more than 0.1pp — Seasonality.
An A/B test on speed — powered, it doesn’t fit the calendar. The same formula as Guide - Running an Experiment, 80% power (the chance of detecting the effect if it’s real), two-sided α 0.05 (the false-positive rate accepted when nothing is happening):
n per arm = (z_α/2 + z_β)² × [p₁(1 − p₁) + p₂(1 − p₂)] ÷ (p₂ − p₁)²
p₁ = 0.0321 p₂ = 0.0321 × 1.028 = 0.0330 p₂ − p₁ = 0.00090
(1.96 + 0.84)² = 7.84
p₁(1 − p₁) + p₂(1 − p₂) = 0.0311 + 0.0319 = 0.0630
n = 7.84 × 0.0630 ÷ 0.00090² ≈ 611,000 sessions per arm
2 × 611,000 ÷ 50,400 per month ≈ 24 months
Against 39,431 per arm for the 10% lift the experiment guide plans on at 4.0%. Small effects need enormous samples — the required sample grows with the inverse square of the effect — Minimum Detectable Effect · Statistical Power.
Counterintuitive, and why it matters: a real, valuable performance fix will usually produce an inconclusive A/B test. The intuition says “if it worked, the test would show it”. It fails because the test can only see effects bigger than its noise, and most speed wins are smaller than that on a mid-sized site. An inconclusive result is not a null — Inconclusive Results.
What to do instead, in order of preference:
- A/B test where it’s cheap and the traffic is big — a flag-able change like deferring the chat widget, site-wide on all 120,000 sessions. Primary metric: the performance metric (powered easily); conversion and contribution per session as guardrails — “do no harm”, not “prove the win” — Guardrail Metrics · Rollouts as Experiments · Guide - Running an Experiment
- Ship on judgement when the change is a defect — a lazy-loaded hero is a bug, not a hypothesis. Optionally a small holdout to accumulate evidence over months
- Value it from the dose-response. Measured shift in the RUM buckets × the §1 gradient × the same haircut. This is what goes in the report
In pounds
RUM buckets after the fix, mobile product-viewing sessions, a month:
LCP bucket before after moved out
< 2.5s 24,000 39,300
2.5–4.0s 17,400 8,600 8,800
> 4.0s 9,000 2,500 6,500
Assume every moved session landed under 2.5s — check in RUM; any that only reached the middle band use the 2.95% step, not 3.75%:
from 2.5–4.0s 8,800 × (3.75% − 2.95%) = 8,800 × 0.0080 = 70.4 orders
from > 4.0s 6,500 × (3.75% − 2.25%) = 6,500 × 0.0150 = 97.5 orders
─────
upper bound 167.9 orders / month
× ⅓ causal 56.0 orders / month
56.0 × £23.01 × 12 ≈ £15,500 / year
per session (all 120,000): 56.0 × £23.01 ÷ 120,000 = £0.0107
contribution per session: £0.552 → £0.563 (≈ +2%)
Report the range with the reasoning: ”≈£15,500 a year, credited at a third of the observed gap; the ceiling if all of it were speed is ≈£46,400” (167.9 × £23.01 × 12). Higher than the £12,600 forecast because the fix moved more sessions than assumed — 15,300 against 13,200. Write that down: the next estimate gets calibrated by it.
The INP improvement isn’t in this number. Value it separately, or leave it as an unsized benefit — don’t add it by assuming the same gradient.
7. Hold it
Performance decays by default. Every addition is reasonable and approved by someone not looking at the total — a review widget, a heavier hero, a campaign pixel. Without a gate, the 2.3s drifts back to 3.7s in a year and nobody can say which change did it — Performance Budgets · Performance Culture.
Four mechanisms, each catching what the others miss. Continuous integration (CI) is the automated build-and-check run on every pull request:
MECHANISM CATCHES MISSES
budget in CI payload growth, new blocking resource, anything not in the repo:
(blocking) lazy LCP image — before merge tags, apps, CMS content
lab regression vs runtime slowdowns in your code noisy; small regressions
base (warns) under the noise floor
scheduled synthetic third-party growth, CDN drift, what real users get
in production "changed and it wasn't us"
RUM alerting what real customers actually get, lags; noisy; needs a
on every template × device threshold that isn't hair-trigger
The budget — template, filled in for the product page
Per template, not site-wide. Set at the current good state minus a margin, with Core Web Vitals as the outer bound:
PERFORMANCE BUDGET template: product page owner: front-end lead
reviewed: quarterly last raised: —
QUANTITY (CI, blocking — deterministic)
initial JS, compressed ≤ 170 KB
LCP image, mobile ≤ 120 KB
fonts, total ≤ 60 KB
third-party origins ≤ 10
requests before first paint ≤ 20
RULES (CI, blocking)
LCP image is an <img> in server HTML, fetchpriority=high, not lazy
no synchronous script in <head> except consent
every <img> has width and height
TIMING (lab, vs base branch, WARN only — median of 9, throttled)
LCP delta > noise floor (measured ±0.25s)
TBT ≤ 400 ms
FIELD (RUM, alert — weekly, mobile and desktop separately)
LCP p75 ≤ 2.5s alert at 2.4s for 2 weeks running
INP p75 ≤ 200ms alert at 190ms for 2 weeks running
CLS p75 ≤ 0.1 alert at 0.08
RAISING IT
pull request + named reason + the cost in ms/KB stated
The quantity starting values are from Performance Budgets; the image figure is this retailer’s, after the fix. Only block on deterministic checks — gating merges on a noisy runtime number teaches people to re-run until green — Performance Regression Testing.
Alert on sustained movement, not a single bad week. Weekly RUM p75 for a template moves with traffic mix; two weeks running past the alert line is a pattern — Alerting on Metrics.
Governing third parties — the register
The budget can’t see the tag manager. Governance can.
TAG REGISTER
tag owner decision it informs loads on trigger main-thread review
(mobile p75)
consent banner legal/eng lawful basis all sync, first 40 ms 2027-01
analytics analytics everything all after consent 60 ms 2027-01
reviews widget ecommerce social proof on product product near-viewport 210 ms 2027-01 ← INP input delay
chat CX support deflection product, on click 0 → 180 ms 2027-01
checkout (facade)
testing tool CRO experiment assignment tested pages sync + 1s cap 120 ms per test
campaign pixel paid social attribution, Q3 campaign all page load 90 ms 2026-11 ← REMOVE: campaign ended
- One owner per tag, a review date, and anything unowned goes at the quarterly audit
- New third-party origin → pauses the publish until someone states the cost
- Container changes annotated against the RUM timeline, so a regression has a candidate — Annotation and Change Logs
- Server-side by default for new vendors that only need data
Ownership is the actual fix. A budget with no owner gets skipped; a tag with no owner never leaves — Performance Culture.
8. How performance work fails
- Optimising the score. A Lighthouse number is a lab composite. Raising it isn’t improving the experience, and some things that raise it hurt real users
- Diagnosing the developer’s machine. Fast laptop, warm cache, consent accepted months ago, ad blocker on
- Site-wide numbers. A passing origin hiding a failing product page (§2)
- Fixing the wrong phase. Compressing an image that downloads in 0.9s when the browser didn’t ask for it until 1.7s
- Borrowed conversion figures. A business case ten times what your own data supports, which collapses when someone checks
- Reading an underpowered test as a null. “No significant change” from a 5-week speed test means the test couldn’t see it, not that it wasn’t there
- Declaring victory from CrUX in week one — or panicking at it. It’s a 28-day window
- Fixing once, gating never. The commonest outcome: a quarter’s work undone in a year by twenty reasonable additions
The short version
- Size it first, on your own data — bucket by LCP within device × template, take the gradient as a ceiling, credit a fraction. Here: ≈£12,600/yr forecast, ≈£75,700 ceiling
- Field before lab — metric × template × device × p75 from RUM. A passing origin can hide a failing product page; combine shares over threshold, never average percentiles
- Reproduce the field conditions in the lab — throttled mobile, cold, logged out, both consent states, median of 5+. INP needs RUM attribution
- Split the metric into phases — LCP: TTFB, load delay, load duration, render delay. INP: input delay, processing, presentation. Fix the long one
- Cheapest, broadest first — third parties and the tag manager, then the LCP element, images, fonts, critical path, caching, JS
- Prove the mechanism in RUM; value it from the dose-response. Conversion before/after and most speed A/B tests are too noisy to see a ~3% lift. Here: ≈£15,500/yr, contribution per session £0.552 → £0.563
- Hold it — per-template budget blocking in CI, warnings on runtime deltas, RUM alerts, and a tag register with owners
Related: Guide - Ecommerce CRO for where F5 came from and how speed ranks against other findings · Guide - Running an Experiment for testing a flag-able speed change · Performance MOC for the full area. Full cross-domain view: CRO.