Performance
· 17 checks — Lighthouse + waterfall + sustainability rolled into one auditable list.Performance-focused optimization plan with CWV assessment, top offenders, and time estimates
First Contentful Paint First Contentful Paint — how long until the browser renders the first piece of content. Under 1.8s is good.
2.61 s
Largest Contentful Paint Largest Contentful Paint — how long until the largest visible element loads. Under 2.5s is good.
3.17 s
Total Blocking Time Total Blocking Time — total time the main thread was blocked, preventing user input. Under 200ms is good.
440 ms
Cumulative Layout Shift Cumulative Layout Shift — measures visual stability. How much the page layout shifts during loading. Under 0.1 is good.
0.804
Speed Index Speed Index — how quickly content is visually displayed during load. Under 3.4s is good.
2.61 s
Time to Interactive Time to Interactive — how long until the page is fully interactive and responds to user input. Under 3.8s is good.
7.61 s
Page Load Progression
DPage Weight InventoryAction34 resources · 1.6 MB · 221 KB savings availableFIX
~220.9 KiB of savings available
| # | Resource | Type | Size | Cache | Unused | 3rd party | Issues |
|---|---|---|---|---|---|---|---|
| — | — | ||||||
| 34 resources | 1.6 MiB | ||||||
FHTTP CachingActionNo cache headersFIX
No Cache-Control header
Adding a Cache-Control header can significantly improve repeat-visit performance.
CPage Weight BudgetAction1.6 MB transferred, 34 requestsREVIEW
Large JavaScript bundles delay interactivity. Split code by route or defer non-critical scripts.
JavaScript bundle is large — code-split routes and lazy-load off-screen components to defer.
Source: web.dev
BThird-Party Impact47% third-party, 0 ms blockingREVIEW
CImage OptimizationAction12 images, 0 KB saveableREVIEW
Set explicit width and height to prevent CLS.
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.
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.
Image without explicit width/height — browser can't reserve space; CLS jumps when image loads.
Source: web.dev / Core Web Vitals
CJS Execution CostAction1536ms total JS executionREVIEW
Main Thread Breakdown
| Script | Total | Scripting | Parse/Compile | Party |
|---|---|---|---|---|
| https://www.googletagmanager.com/gtag/js?id=G-14RSNY7L8B&cx=c>m=4e64k1 | 267ms | 207ms | 59ms | 3rd |
| Unattributable | 261ms | 5ms | 0ms | 3rd |
| https://www.googletagmanager.com/gtag/js?id=G-9684J19FT4&cx=c>m=4e64k1 | 245ms | 198ms | 46ms | 3rd |
| https://commonslibrary.parliament.uk/cdn-cgi/challenge-platform/scripts/jsd/main.js | 243ms | 237ms | 3ms | 1st |
| https://commonslibrary.parliament.uk/ | 219ms | 36ms | 3ms | 1st |
| https://www.googletagmanager.com/gtm.js?id=GTM-TKRJ92L | 210ms | 178ms | 30ms | 3rd |
| https://cookiemanager.parliament.uk/cookiemanager.bundle.js | 90ms | 70ms | 11ms | 3rd |
CJS BundlesAction10 scripts, 221 KB unusedREVIEW
Downloaded but never executed on this page.
| Script | Size | Unused | Minified | Party |
|---|---|---|---|---|
| https://www.googletagmanager.com/gtag/js?id=G-9684J19FT4&cx=c>m=4e64k1 | 157 KB | 66 KB (42%) | ✓ | 3rd |
| https://www.googletagmanager.com/gtag/js?id=G-14RSNY7L8B&cx=c>m=4e64k1 | 154 KB | 63 KB (41%) | ✓ | 3rd |
| https://www.googletagmanager.com/gtm.js?id=GTM-TKRJ92L | 140 KB | 63 KB (45%) | ✓ | 3rd |
| https://cookiemanager.parliament.uk/cookiemanager.bundle.js | 49 KB | 29 KB (58%) | ✓ | 3rd |
| https://commonslibrary.parliament.uk/content/plugins/svg-support/vendor/DOMPurify/DOMPurify.min.js?ver=2.5.8 | 9 KB | — | ✓ | 1st |
| https://commonslibrary.parliament.uk/content/plugins/duracelltomi-google-tag-manager/dist/js/gtm4wp-form-move-tracker.js?ver=1.22.1 | 1 KB | — | ✓ | 1st |
| https://commonslibrary.parliament.uk/content/themes/parliament-design-system/dist/assets/js/app.min.js?ver=1.1.0 | 6 KB | — | ✓ | 1st |
| https://commonslibrary.parliament.uk/content/themes/parliament-design-system/dist/assets/js/libraries/lazysizes.min.js?ver=4.0.2 | 4 KB | — | ✓ | 1st |
| https://commonslibrary.parliament.uk/content/themes/parliament-design-system/dist/assets/js/libraries/ls.print.min.js?ver=1.0.0 | 1 KB | — | ✓ | 1st |
| https://commonslibrary.parliament.uk/cdn-cgi/challenge-platform/h/b/scripts/jsd/0b8fb825cb67/main.js? | 12 KB | — | ✓ | 1st |
Consider code splitting or tree shaking to reduce unused code.
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.
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.
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.
This bundle has high unused code — code-split or tree-shake to ship only what executes.
Source: web.dev / Lighthouse coverage
A+Text CompressionAll text resources are compressedPASS
A+Font Loading2 fonts (70 KB)PASS
Web fonts
2
70 KB total
Render-blocking
0
of 2
Dominant font-display
swap
Most common across fonts
Font loading timeline
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 CachingAll resources properly cachedPASS
A+Critical Rendering PathNo render-blocking resourcesPASS
A+Resource HintsNo optimization neededPASS
A+Render-Blocking ResourcesNo render-blocking resources detectedPASS
A+Third-Party ResourcesNo third-party resources detectedPASS
A+Green HostingWhether the site is served from green-energy infrastructurePASS
Green Hosting
This site is hosted on green energy infrastructure
Provider: Cloudflare
Network Waterfall34 requests over 706msINFO
Third-Party Script CostPer-script blocking time, transfer cost, and cache headersINFO
| Script | Category | Execution | Transfer | Unused | Monthly Cost | Verdict |
|---|---|---|---|---|---|---|
Google Tag Manager www.googletagmanager.com | Tag Manager | 267ms | 154 KB | 41% | £3/mo | Costly |
Unattributable Unattributable | Other | 261ms | 0 KB | — | £3/mo | Costly |
Google Tag Manager www.googletagmanager.com | Tag Manager | 245ms | 157 KB | 42% | £3/mo | Costly |
Google Tag Manager www.googletagmanager.com | Tag Manager | 210ms | 140 KB | 45% | £2/mo | Costly |
cookiemanager.parliament.uk cookiemanager.parliament.uk | Other | 90ms | 49 KB | 58% | £1/mo | Optional |
These scripts may cost more than they're worth
- Google Tag Manager adds 267ms and costs ~£3/month
- Unattributable adds 261ms and costs ~£3/month
- Google Tag Manager adds 245ms and costs ~£3/month
- Google Tag Manager adds 210ms and costs ~£2/month
70% of JavaScript execution time comes from third-party scripts.
Third-party scripts (analytics, ads, social, A/B testing) often dominate execution time — every one is a perf-and-privacy tax.
Learn more ▾ ▴
Each third-party script is a black box: you don't control when it loads, what it executes, or how much it grows. They often account for a major share of total blocking time on average sites (HTTP Archive's Web Almanac documents the trend). Audit which ones you actually need, defer the rest, and use facade patterns (lite-youtube, lite-vimeo) for embedded media.
Source: web.dev / HTTP Archive Web Almanac
Google Tag Manager takes 267ms of CPU time. Consider loading it asynchronously or replacing it with a lighter alternative.
This script has high main-thread execution time — optimize hot paths or defer.
Source: web.dev
Unattributable takes 261ms of CPU time. Consider loading it asynchronously or replacing it with a lighter alternative.
This script has high main-thread execution time — optimize hot paths or defer.
Source: web.dev
Google Tag Manager takes 245ms of CPU time. Consider loading it asynchronously or replacing it with a lighter alternative.
This script has high main-thread execution time — optimize hot paths or defer.
Source: web.dev
Google Tag Manager takes 210ms of CPU time. Consider loading it asynchronously or replacing it with a lighter alternative.
This script has high main-thread execution time — optimize hot paths or defer.
Source: web.dev
58% of cookiemanager.parliament.uk's code is unused. The script may be loading features you don't use.
Bundle has high unused-code ratio — tree-shaking and route-splitting recover the wasted bytes.
Source: web.dev