Skip to content
https://ons.gov.uk

Performance

· 15 checks — Lighthouse + waterfall + sustainability rolled into one auditable list.
SCORE
84
GRADE
B
FIX
2
REVIEW
5
PASS
6
INFO
2

Performance-focused optimization plan with CWV assessment, top offenders, and time estimates

76
Performance Overall performance score (0–100) based on Core Web Vitals and other metrics. 90+ is good.
100
Accessibility Measures how accessible the page is for users with disabilities. Checks color contrast, ARIA labels, and semantic HTML.
81
Best Practices Checks for modern web development best practices including HTTPS, no console errors, and secure JavaScript.
91
SEO Measures basic SEO optimizations: meta tags, crawlability, link text, and mobile friendliness.

First Contentful Paint First Contentful Paint — how long until the browser renders the first piece of content. Under 1.8s is good.

734 ms

Largest Contentful Paint Largest Contentful Paint — how long until the largest visible element loads. Under 2.5s is good.

1.13 s

Total Blocking Time Total Blocking Time — total time the main thread was blocked, preventing user input. Under 200ms is good.

4 ms

Cumulative Layout Shift Cumulative Layout Shift — measures visual stability. How much the page layout shifts during loading. Under 0.1 is good.

0.510

Speed Index Speed Index — how quickly content is visually displayed during load. Under 3.4s is good.

734 ms

Time to Interactive Time to Interactive — how long until the page is fully interactive and responds to user input. Under 3.8s is good.

1.19 s

Page Load Progression

375 ms
750 ms
1.1 s
1.5 s
1.9 s
2.2 s
2.6 s
3.0 s
Checks
15
6 PASS 5 REVIEW 2 FIX
D
Third-Party Impact
Action
100% third-party, 0 ms blocking
FIX
100% third-party, 0 ms blocking
Warning::
Third-party code accounts for 100% of page weight (1.3 MiB of 1.3 MiB)
Info::
Third-party blocking time is low (0 ms)
100%
First-party Third-party
F
HTTP Caching
Action
No cache headers
FIX
No cache headers
Warning::
No Cache-Control header found
Browsers will use heuristic caching, which can be unpredictable. Set explicit cache headers.

No Cache-Control header

Adding a Cache-Control header can significantly improve repeat-visit performance.

B
Page Weight Budget
1.3 MB transferred, 26 requests
REVIEW
1.3 MB transferred, 26 requests
Info::
Page weighs 2.6 MB (1.3 MB transferred)
Info::
26 HTTP requests
Info::
Estimated 0.27 g CO2 per page load
1.3 MB / 2.4 MB budget
1.3 MB transferred
26 requests
0.27 g CO2 per page load
Images 893.5 KiB 68%
JavaScript 319.2 KiB 24%
CSS 47.6 KiB 4%
Fonts 35.7 KiB 3%
HTML 13.7 KiB 1%
Other 1.9 KiB 0%
Other 1.2 KiB 0%
0 2.4 MB 4.9 MB
Under budget
C
Image Optimization
Action
13 images, 0 KB saveable
REVIEW
13 images, 0 KB saveable
Warning::
https://cdn.ons.gov.uk/assets/images/ons-logo/v2/o... is missing width/height — may cause layout shift
Set explicit width and height to prevent CLS.
Warning::
https://cdn.ons.gov.uk/assets/images/icon-checkbox... is missing width/height — may cause layout shift
Set explicit width and height to prevent CLS.
Warning::
https://static.ons.gov.uk/images/0f82a37b-7cb8-484... is missing width/height — may cause layout shift
Set explicit width and height to prevent CLS.
Warning::
https://static.ons.gov.uk/images/a891289e-3abd-402... is missing width/height — may cause layout shift
Set explicit width and height to prevent CLS.
Warning::
https://static.ons.gov.uk/images/835f0472-877e-4ad... is missing width/height — may cause layout shift
Set explicit width and height to prevent CLS.
Warning::
https://static.ons.gov.uk/images/0d844d98-3f70-4c2... is missing width/height — may cause layout shift
Set explicit width and height to prevent CLS.
Warning::
https://static.ons.gov.uk/images/9eba40bd-f6c2-41d... is missing width/height — may cause layout shift
Set explicit width and height to prevent CLS.
Warning::
https://static.ons.gov.uk/images/fb9be62f-1124-43a... is missing width/height — may cause layout shift
Set explicit width and height to prevent CLS.
Warning::
https://static.ons.gov.uk/images/218433dd-b40c-44c... is missing width/height — may cause layout shift
Set explicit width and height to prevent CLS.
Warning::
https://cdn.ons.gov.uk/assets/images/logo-ogl-foot... is missing width/height — may cause layout shift
Set explicit width and height to prevent CLS.
Warning::
https://static.ons.gov.uk/images/49166bf5-1f2a-4e7... is missing width/height — may cause layout shift
Set explicit width and height to prevent CLS.
13 images 893 KB
0 oversized -0 KB
13 legacy format
11 missing dimensions CLS risk

Set explicit width and height to prevent CLS.

Why this matters

Image without explicit width/height — browser can't reserve space; CLS jumps when image loads.

Source: web.dev / Core Web Vitals

Set explicit width and height to prevent CLS.

Why this matters

Image without explicit width/height — browser can't reserve space; CLS jumps when image loads.

Source: web.dev / Core Web Vitals

Set explicit width and height to prevent CLS.

Why this matters

Image without explicit width/height — browser can't reserve space; CLS jumps when image loads.

Source: web.dev / Core Web Vitals

Set explicit width and height to prevent CLS.

Why this matters

Image without explicit width/height — browser can't reserve space; CLS jumps when image loads.

Source: web.dev / Core Web Vitals

Set explicit width and height to prevent CLS.

Why this matters

Image without explicit width/height — browser can't reserve space; CLS jumps when image loads.

Source: web.dev / Core Web Vitals

Set explicit width and height to prevent CLS.

Why this matters

Image without explicit width/height — browser can't reserve space; CLS jumps when image loads.

Source: web.dev / Core Web Vitals

Set explicit width and height to prevent CLS.

Why this matters

Image without explicit width/height — browser can't reserve space; CLS jumps when image loads.

Source: web.dev / Core Web Vitals

Set explicit width and height to prevent CLS.

Why this matters

Image without explicit width/height — browser can't reserve space; CLS jumps when image loads.

Source: web.dev / Core Web Vitals

Set explicit width and height to prevent CLS.

Why this matters

Image without explicit width/height — browser can't reserve space; CLS jumps when image loads.

Source: web.dev / Core Web Vitals

Set explicit width and height to prevent CLS.

Why this matters

Image without explicit width/height — browser can't reserve space; CLS jumps when image loads.

Source: web.dev / Core Web Vitals

Set explicit width and height to prevent CLS.

Why this matters

Image without explicit width/height — browser can't reserve space; CLS jumps when image loads.

Source: web.dev / Core Web Vitals

B
JS Bundles
5 scripts, 143 KB unused
REVIEW
5 scripts, 143 KB unused
Warning::
https://www.ons.gov.uk/js/app.js: 92 KB unused (83%)
Consider code splitting or tree shaking to reduce unused code.
Warning::
https://www.googletagmanager.com/gtm.js?id=GTM-MBC...: 51 KB unused (34%)
Consider code splitting or tree shaking to reduce unused code.
Info::
Total unused JavaScript: 143 KB
143 KB unused JavaScript

Downloaded but never executed on this page.

ScriptSizeUnusedMinifiedParty
https://www.ons.gov.uk/js/app.js110 KB92 KB (83%)3rd
https://www.googletagmanager.com/gtm.js?id=GTM-MBCBVQS149 KB51 KB (34%)3rd
https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js30 KB3rd
https://cdn.ons.gov.uk/sixteens/418c927/js/main.js17 KB3rd
https://www.ons.gov.uk/cdn-cgi/challenge-platform/h/b/scripts/jsd/0b8fb825cb67/main.js?12 KB3rd

Consider code splitting or tree shaking to reduce unused code.

Why this matters

This bundle has high unused code — code-split or tree-shake to ship only what executes.

Source: web.dev / Lighthouse coverage

Consider code splitting or tree shaking to reduce unused code.

Why this matters

This bundle has high unused code — code-split or tree-shake to ship only what executes.

Source: web.dev / Lighthouse coverage

C
Page Weight Inventory
Action
26 resources · 1.3 MB · 143 KB savings available
REVIEW
26 resources · 1.3 MB · 143 KB savings available
Warning::
Page weight 289 KB over 1MB target
Got: 1.3 MB Expected: ≤ 1 MB
Info::
~143 KB of savings available
Warning::
25 third-party resources (100% of weight)
Info::
1 resources over 200KB
26 resources · 1.3 MiB · 25 third-party 288.8 KiB over 1MB target
Image 68% · 894.9 KiB
JavaScript 24% · 319.2 KiB
CSS 4% · 47.6 KiB
Font 3% · 35.7 KiB
Document 1% · 13.9 KiB
Other 0% · 1.5 KiB

~142.9 KiB of savings available

Remove unused JavaScript: 142.9 KiB
C
Green Hosting
Action
Whether the site is served from green-energy infrastructure
REVIEW

Green Hosting

No green hosting detected

A+
Text Compression
All text resources are compressed
PASS
All text resources are compressed
Info::
All text resources are compressed
All text resources are properly compressed.
A+
JS Execution Cost
331ms total JS execution
PASS
331ms total JS execution
Info::
https://www.googletagmanager.com/gtm.js?id=GTM-MBC...: 136ms CPU time
Info::
https://www.ons.gov.uk/: 82ms CPU time
Info::
Unattributable: 58ms CPU time
Info::
https://www.ons.gov.uk/cdn-cgi/challenge-platform/...: 54ms CPU time
Warning::
Third-party scripts: 331ms (100% of total)

Main Thread Breakdown

Script Evaluation 54% Other 16% Style & Layout 14% Script Parsing & Compilation 7% Rendering 4%
ScriptTotalScriptingParse/CompileParty
https://www.googletagmanager.com/gtm.js?id=GTM-MBCBVQS136ms117ms13ms3rd
https://www.ons.gov.uk/82ms9ms1ms3rd
Unattributable58ms1ms0ms3rd
https://www.ons.gov.uk/cdn-cgi/challenge-platform/scripts/jsd/main.js54ms52ms0ms3rd
A+
Font Loading
2 fonts (36 KB)
PASS
2 fonts (36 KB)
Info::
2 font(s) use font-display: swap (FOUT risk but functional)

Web fonts

2

36 KB total

Render-blocking

0

of 2

Dominant font-display

swap

Most common across fonts

Font loading timeline
Transfer FOIT (block) FOUT (swap)
0 ms 500 ms 1.0 s FCP 734 ms LCP 1.1 shttps://cdn.ons.gov.uk/assets/fonts/open-sans-regular/OpenSans-Regular-webfont.woff2OpenSans-Regular-webfon... https://cdn.ons.gov.uk/assets/fonts/open-sans-regular/OpenSans-Regular-webfont.woff2 — 17.8 KiB — 94 ms — font-display: swaphttps://cdn.ons.gov.uk/assets/fonts/open-sans-bold/OpenSans-Bold-webfont.woff2OpenSans-Bold-webfont.w... https://cdn.ons.gov.uk/assets/fonts/open-sans-bold/OpenSans-Bold-webfont.woff2 — 17.9 KiB — 92 ms — font-display: swap
OpenSans-Regular-webfon... woff2 swap
Size 18 KB
Load time 94 ms
Start 318 ms
Risk FOUT — text flashes from fallback to web font
OpenSans-Bold-webfont.w... woff2 swap
Size 18 KB
Load time 92 ms
Start 318 ms
Risk FOUT — text flashes from fallback to web font
Optimization checklist
  • Preload critical fonts (priority=high)
  • Use woff2 format for all fonts
  • Set font-display to swap, optional, or fallback
  • Subset large fonts (≤100 KB each)
A+
Resource Caching
All resources properly cached
PASS
All resources properly cached
Info::
No caching issues found
All static resources have appropriate caching headers.
A+
Critical Rendering Path
No render-blocking resources
PASS
No render-blocking resources
Info::
No render-blocking resources detected
A+
Resource Hints
No optimization needed
PASS
No optimization needed
Info::
No resource hint issues
Network Waterfall
26 requests over 684ms
INFO
0 ms 500 ms 1.0 s FCP 734 ms LCP 1.1 shttps://ons.gov.uk// https://ons.gov.uk/ — 301 — 191 B — 83 ms — http/1.1https://www.ons.gov.uk/www.ons.gov.uk/ https://www.ons.gov.uk/ — 200 — 13.7 KiB — 87 ms — h2https://cdn.ons.gov.uk/sixteens/418c927/css/main.csscdn.ons.gov.uk/sixteens/418c927/css... https://cdn.ons.gov.uk/sixteens/418c927/css/main.css — 200 — 47.6 KiB — 76 ms — h2https://cdn.ons.gov.uk/assets/images/ons-logo/v2/ons-logo.svgcdn.ons.gov.uk/assets/images/ons-lo... https://cdn.ons.gov.uk/assets/images/ons-logo/v2/ons-logo.svg — 200 — 2.5 KiB — 72 ms — h2https://cdn.ons.gov.uk/assets/images/icon-checkbox.svgcdn.ons.gov.uk/assets/images/icon-c... https://cdn.ons.gov.uk/assets/images/icon-checkbox.svg — 200 — 785 B — 71 ms — h2https://static.ons.gov.uk/images/9eba40bd-f6c2-41d8-8dcd-7eb67c184f05/original/Homepage-thumbnail_Hero-video_v2.pngstatic.ons.gov.uk/images/9eba40bd-f... https://static.ons.gov.uk/images/9eba40bd-f6c2-41d8-8dcd-7eb67c184f05/original/Homepage-thumbnail_Hero-video_v2.png — 200 — 139.7 KiB — 121 ms — h2https://static.ons.gov.uk/images/0f82a37b-7cb8-4840-9ddc-31738be805de/original/Data-coherence.pngstatic.ons.gov.uk/images/0f82a37b-7... https://static.ons.gov.uk/images/0f82a37b-7cb8-4840-9ddc-31738be805de/original/Data-coherence.png — 200 — 46.1 KiB — 114 ms — h2https://cdn.ons.gov.uk/assets/images/census-logo/logo-census-2021-white-landscape.svgcdn.ons.gov.uk/assets/images/census... https://cdn.ons.gov.uk/assets/images/census-logo/logo-census-2021-white-landscape.svg — 200 — 3.2 KiB — 33 ms — h2https://static.ons.gov.uk/images/a891289e-3abd-4027-bc98-a674d311db56/original/2912%20Census%202031%20topic%20consultation_website%20thumbnail_v1-00-01.pngstatic.ons.gov.uk/images/a891289e-3... https://static.ons.gov.uk/images/a891289e-3abd-4027-bc98-a674d311db56/original/2912%20Census%202031%20topic%20consultation_website%20thumbnail_v1-00-01.png — 200 — 576.7 KiB — 132 ms — h2https://static.ons.gov.uk/images/fb9be62f-1124-43ab-ad1d-21f106e09c4c/original/image%20%289%29.pngstatic.ons.gov.uk/images/fb9be62f-1... https://static.ons.gov.uk/images/fb9be62f-1124-43ab-ad1d-21f106e09c4c/original/image%20%289%29.png — 200 — 6.8 KiB — 62 ms — h2https://static.ons.gov.uk/images/835f0472-877e-4ad2-b120-1416726ea48a/original/Explore-local-statistics_thumbnail-homepage%20%28002%29.pngstatic.ons.gov.uk/images/835f0472-8... https://static.ons.gov.uk/images/835f0472-877e-4ad2-b120-1416726ea48a/original/Explore-local-statistics_thumbnail-homepage%20%28002%29.png — 200 — 49.0 KiB — 128 ms — h2https://static.ons.gov.uk/images/218433dd-b40c-44ce-96fd-b3991931b67c/original/GOV-UK-logo%20%28003%29.pngstatic.ons.gov.uk/images/218433dd-b... https://static.ons.gov.uk/images/218433dd-b40c-44ce-96fd-b3991931b67c/original/GOV-UK-logo%20%28003%29.png — 200 — 40.1 KiB — 129 ms — h2https://cdn.ons.gov.uk/assets/images/logo-ogl-footer.svgcdn.ons.gov.uk/assets/images/logo-o... https://cdn.ons.gov.uk/assets/images/logo-ogl-footer.svg — 200 — 779 B — 30 ms — h2https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.jsajax.googleapis.com/ajax/libs/jquer... https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js — 200 — 30.4 KiB — 96 ms — h2https://cdn.ons.gov.uk/sixteens/418c927/js/main.jscdn.ons.gov.uk/sixteens/418c927/js/... https://cdn.ons.gov.uk/sixteens/418c927/js/main.js — 200 — 16.8 KiB — 32 ms — h2https://www.ons.gov.uk/js/app.jswww.ons.gov.uk/js/app.js https://www.ons.gov.uk/js/app.js — 200 — 110.3 KiB — 52 ms — h2https://www.googletagmanager.com/gtm.js?id=GTM-MBCBVQSwww.googletagmanager.com/gtm.js?id=... https://www.googletagmanager.com/gtm.js?id=GTM-MBCBVQS — 200 — 149.5 KiB — 149 ms — h2https://cdn.ons.gov.uk/assets/images/icon-sprite/v2/icon-sprite.svgcdn.ons.gov.uk/assets/images/icon-s... https://cdn.ons.gov.uk/assets/images/icon-sprite/v2/icon-sprite.svg — 200 — 3.9 KiB — 28 ms — h2https://static.ons.gov.uk/images/0d844d98-3f70-4c20-9a8b-5c8241aa2c3d/original/Homepage-thumbnail_Navigating-numbers.pngstatic.ons.gov.uk/images/0d844d98-3... https://static.ons.gov.uk/images/0d844d98-3f70-4c20-9a8b-5c8241aa2c3d/original/Homepage-thumbnail_Navigating-numbers.png — 200 — 18.5 KiB — 95 ms — h2https://static.ons.gov.uk/images/49166bf5-1f2a-4e79-9650-bcfafe8cc58c/original/home12345.pngstatic.ons.gov.uk/images/49166bf5-1... https://static.ons.gov.uk/images/49166bf5-1f2a-4e79-9650-bcfafe8cc58c/original/home12345.png — 200 — 5.6 KiB — 95 ms — h2https://cdn.ons.gov.uk/assets/fonts/open-sans-regular/OpenSans-Regular-webfont.woff2cdn.ons.gov.uk/assets/fonts/open-sa... https://cdn.ons.gov.uk/assets/fonts/open-sans-regular/OpenSans-Regular-webfont.woff2 — 200 — 17.8 KiB — 94 ms — h2https://cdn.ons.gov.uk/assets/fonts/open-sans-bold/OpenSans-Bold-webfont.woff2cdn.ons.gov.uk/assets/fonts/open-sa... https://cdn.ons.gov.uk/assets/fonts/open-sans-bold/OpenSans-Bold-webfont.woff2 — 200 — 17.9 KiB — 92 ms — h2https://www.ons.gov.uk/cdn-cgi/challenge-platform/scripts/jsd/main.jswww.ons.gov.uk/cdn-cgi/challenge-pl... https://www.ons.gov.uk/cdn-cgi/challenge-platform/scripts/jsd/main.js — 302 — 370 B — 40 ms — h2https://www.ons.gov.uk/cdn-cgi/challenge-platform/h/b/scripts/jsd/0b8fb825cb67/main.js?www.ons.gov.uk/cdn-cgi/challenge-pl... https://www.ons.gov.uk/cdn-cgi/challenge-platform/h/b/scripts/jsd/0b8fb825cb67/main.js? — 200 — 12.2 KiB — 24 ms — h2https://www.ons.gov.uk/cdn-cgi/challenge-platform/h/b/jsd/oneshot/0b8fb825cb67/0.7989566937318935:1776802399:zTKHR5rhRQnoOcPGrKEmCIpeWlJ-83Z6Gei8kRIaJDY/9eff3a9859ac02a3www.ons.gov.uk/cdn-cgi/challenge-pl... https://www.ons.gov.uk/cdn-cgi/challenge-platform/h/b/jsd/oneshot/0b8fb825cb67/0.7989566937318935:1776802399:zTKHR5rhRQnoOcPGrKEmCIpeWlJ-83Z6Gei8kRIaJDY/9eff3a9859ac02a3 — 200 — 1.2 KiB — 40 ms — h2https://www.ons.gov.uk/favicon.icowww.ons.gov.uk/favicon.ico https://www.ons.gov.uk/favicon.ico — 200 — 1.4 KiB — 31 ms — h2
HTML JavaScript CSS Images Fonts XHR/Fetch Other
Third-Party Script Cost
Per-script blocking time, transfer cost, and cache headers
INFO
100% of JavaScript execution is third-party
First-party Third-party 331ms · 164KB · £3/mo
Google Tag Manager
Tag Manager
Optional
Execution 136ms
Transfer 149 KB
Unused 34%
Monthly Cost £1/mo
www.ons.gov.uk
Other
Optional
Execution 82ms
Transfer 14 KB
Monthly Cost £1/mo
Unattributable
Other
Optional
Execution 58ms
Transfer 0 KB
Monthly Cost £1/mo
www.ons.gov.uk
Other
Optional
Execution 54ms
Transfer 0 KB
Monthly Cost £1/mo

100% of JavaScript execution time is spent on third-party scripts. Consider auditing which scripts are essential.

Why this matters

When third-party JS execution time exceeds your own, performance gains from frontend work are capped by code you don't own.

Learn more

Every millisecond of third-party JS competes with your own for main-thread time. If their share is bigger than yours, optimization on your code base barely moves the needle. Audit, defer, or remove third-parties before further frontend optimization. Use Lighthouse's third-party audit to identify the worst offenders.

Source: web.dev

How third-party costs are calculated

All checks on this page are automated. Results are estimates - run targeted manual reviews when the score affects a release decision.

Send Feedback