Performance
· 14 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.
497 ms
Largest Contentful Paint Largest Contentful Paint — how long until the largest visible element loads. Under 2.5s is good.
805 ms
Total Blocking Time Total Blocking Time — total time the main thread was blocked, preventing user input. Under 200ms is good.
0 ms
Cumulative Layout Shift Cumulative Layout Shift — measures visual stability. How much the page layout shifts during loading. Under 0.1 is good.
0.233
Speed Index Speed Index — how quickly content is visually displayed during load. Under 3.4s is good.
497 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.
805 ms
Page Load Progression
BImage Optimization7 images, 0 KB saveableREVIEW
CGreen HostingActionWhether the site is served from green-energy infrastructureREVIEW
Green Hosting
No green hosting detected
A+Page Weight Budget209 KB transferred, 23 requestsPASS
AThird-Party Impact22% third-party, 0 ms blockingPASS
A+Text CompressionAll text resources are compressedPASS
A+JS Execution Cost76ms total JS executionPASS
Main Thread Breakdown
| Script | Total | Scripting | Parse/Compile | Party |
|---|---|---|---|---|
| https://www.gov.scot/ | 76ms | 2ms | 0ms | 1st |
A+Font Loading1 fonts (37 KB)PASS
Web fonts
1
37 KB total
Render-blocking
0
of 1
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+JS Bundles7 scripts, 23 KB unusedPASS
Downloaded but never executed on this page.
| Script | Size | Unused | Minified | Party |
|---|---|---|---|---|
| https://www.gov.scot/webfiles/1776248299365/assets/scripts/global.js | 33 KB | 23 KB (72%) | ✓ | 1st |
| https://www.gov.scot/webfiles/1776248299365/assets/scripts/datalayer.js | 1 KB | — | ✓ | 1st |
| https://www.gov.scot/webfiles/1776248299365/assets/scripts/gtm.js | 2 KB | — | ✓ | 1st |
| https://www.gov.scot/webfiles/1776248299365/assets/scripts/js-enabled.js | 1 KB | — | ✓ | 1st |
| https://www.gov.scot/webfiles/1776248299365/assets/scripts/home.js | 1 KB | — | ✓ | 1st |
| https://www.gov.scot/assets/scripts/vendor/plausible/script.file-downloads.outbound-links.js | 3 KB | — | ✓ | 1st |
| https://www.gov.scot/assets/scripts/vendor/svgxuse.min.js | 3 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
A+Resource CachingAll resources properly cachedPASS
A+Critical Rendering PathNo render-blocking resourcesPASS
A+Resource HintsNo optimization neededPASS
A+Page Weight Inventory23 resources · 209 KB · 23 KB savings availablePASS
~23.3 KiB of savings available
| # | Resource | Type | Size | Cache | Unused | 3rd party | Issues |
|---|---|---|---|---|---|---|---|
| — | — | ||||||
| 23 resources | 209.5 KiB | ||||||
A+HTTP Cachingmax-age=300 (5 minutes)PASS
public, max-age=300, s-maxage=60
| Directive | Value | Meaning |
|---|---|---|
| public | — | Any cache may store this response |
| max-age | 300 | Cache for 5 minutes |
| s-maxage | 60 | CDN caches for 1 minute |