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.
1.81 s
Largest Contentful Paint Largest Contentful Paint — how long until the largest visible element loads. Under 2.5s is good.
1.96 s
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.633
Speed Index Speed Index — how quickly content is visually displayed during load. Under 3.4s is good.
1.81 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.
1.96 s
Page Load Progression
BImage Optimization4 images, 0 KB saveableREVIEW
BJS Execution Cost571ms total JS executionREVIEW
Main Thread Breakdown
| Script | Total | Scripting | Parse/Compile | Party |
|---|---|---|---|---|
| https://www.gov.scot/ | 298ms | 5ms | 1ms | 1st |
| Unattributable | 183ms | 11ms | 0ms | 3rd |
| https://www.gov.scot/webfiles/1776248299365/assets/scripts/global.js | 90ms | 56ms | 1ms | 1st |
CGreen HostingActionWhether the site is served from green-energy infrastructureREVIEW
Green Hosting
No green hosting detected
A+Page Weight Budget287 KB transferred, 20 requestsPASS
A+Third-Party Impact16% third-party, 0 ms blockingPASS
A+Text CompressionAll text resources are compressedPASS
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 Inventory20 resources · 287 KB · 23 KB savings availablePASS
~23.3 KiB of savings available
| # | Resource | Type | Size | Cache | Unused | 3rd party | Issues |
|---|---|---|---|---|---|---|---|
| — | — | ||||||
| 20 resources | 287.5 KiB | ||||||
A+Render-Blocking ResourcesNo render-blocking resources detectedPASS
A+Third-Party ResourcesNo third-party resources detectedPASS
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 |
Network Waterfall20 requests over 313msINFO
Third-Party Script CostPer-script blocking time, transfer cost, and cache headersINFO
| Script | Category | Execution | Transfer | Unused | Monthly Cost | Verdict |
|---|---|---|---|---|---|---|
Unattributable Unattributable | Other | 183ms | 0 KB | — | €2/mo | Optional |