Skip to content
https://www.gov.scot

Performance

· 14 checks — Lighthouse + waterfall + sustainability rolled into one auditable list.
SCORE
96
GRADE
A
FIX
0
REVIEW
2
PASS
11
INFO
1

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

88
Performance Overall performance score (0–100) based on Core Web Vitals and other metrics. 90+ is good.
95
Accessibility Measures how accessible the page is for users with disabilities. Checks color contrast, ARIA labels, and semantic HTML.
100
Best Practices Checks for modern web development best practices including HTTPS, no console errors, and secure JavaScript.
100
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.

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

375 ms
750 ms
1.1 s
1.5 s
1.9 s
2.2 s
2.6 s
3.0 s
Checks
14
11 PASS 2 REVIEW
B
Image Optimization
7 images, 0 KB saveable
REVIEW
7 images, 0 KB saveable
Info::
All images are well-optimized
7 images 57 KB
0 oversized -0 KB
7 legacy format
0 missing dimensions CLS risk
C
Green Hosting
Action
Whether the site is served from green-energy infrastructure
REVIEW

Green Hosting

No green hosting detected

A+
Page Weight Budget
209 KB transferred, 23 requests
PASS
209 KB transferred, 23 requests
Info::
Page weighs 640 KB (209 KB transferred)
Info::
23 HTTP requests
Info::
Estimated 0.04 g CO2 per page load
209 KB / 2.4 MB budget
209 KB transferred
23 requests
0.04 g CO2 per page load
Images 56.6 KiB 27%
JavaScript 45.0 KiB 21%
CSS 43.8 KiB 21%
Fonts 36.7 KiB 18%
Other 16.1 KiB 8%
HTML 10.8 KiB 5%
Other 502 B 0%
0 2.4 MB 4.9 MB
Under budget
A
Third-Party Impact
22% third-party, 0 ms blocking
PASS
22% third-party, 0 ms blocking
Info::
Third-party code accounts for 22% of page weight (46.0 KiB of 209.5 KiB)
Info::
Third-party blocking time is low (0 ms)
78%
22%
First-party Third-party
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
76ms total JS execution
PASS
76ms total JS execution
Info::
https://www.gov.scot/: 76ms CPU time

Main Thread Breakdown

Other 34% Style & Layout 32% Script Evaluation 17% Rendering 9% Parse HTML & CSS 8%
ScriptTotalScriptingParse/CompileParty
https://www.gov.scot/76ms2ms0ms1st
A+
Font Loading
1 fonts (37 KB)
PASS
1 fonts (37 KB)
Info::
1 font(s) use font-display: swap (FOUT risk but functional)

Web fonts

1

37 KB total

Render-blocking

0

of 1

Dominant font-display

swap

Most common across fonts

Font loading timeline
Transfer FOIT (block) FOUT (swap)
0 ms 500 ms 1.0 s FCP 497 ms LCP 805 mshttps://fonts.gstatic.com/s/roboto/v51/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3yUBHMdazQ.woff2KFO7CnqEu92Fr1ME7kSn66a... https://fonts.gstatic.com/s/roboto/v51/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3yUBHMdazQ.woff2 — 36.7 KiB — 49 ms — font-display: swap
KFO7CnqEu92Fr1ME7kSn66a... woff2 swap
Size 37 KB
Load time 49 ms
Start 156 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+
JS Bundles
7 scripts, 23 KB unused
PASS
7 scripts, 23 KB unused
Warning::
https://www.gov.scot/webfiles/1776248299365/assets...: 23 KB unused (72%)
Consider code splitting or tree shaking to reduce unused code.
Info::
Total unused JavaScript: 23 KB
23 KB unused JavaScript

Downloaded but never executed on this page.

ScriptSizeUnusedMinifiedParty
https://www.gov.scot/webfiles/1776248299365/assets/scripts/global.js33 KB23 KB (72%)1st
https://www.gov.scot/webfiles/1776248299365/assets/scripts/datalayer.js1 KB1st
https://www.gov.scot/webfiles/1776248299365/assets/scripts/gtm.js2 KB1st
https://www.gov.scot/webfiles/1776248299365/assets/scripts/js-enabled.js1 KB1st
https://www.gov.scot/webfiles/1776248299365/assets/scripts/home.js1 KB1st
https://www.gov.scot/assets/scripts/vendor/plausible/script.file-downloads.outbound-links.js3 KB1st
https://www.gov.scot/assets/scripts/vendor/svgxuse.min.js3 KB1st

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

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
A+
Page Weight Inventory
23 resources · 209 KB · 23 KB savings available
PASS
23 resources · 209 KB · 23 KB savings available
Info::
Within 1MB page-weight target
Got: 209 KB
Info::
4 third-party resources (22% of weight)
23 resources · 209.5 KiB · 4 third-party Within 1MB page-weight target
Image 35% · 72.7 KiB
JavaScript 21% · 45.0 KiB
CSS 21% · 43.8 KiB
Font 18% · 36.7 KiB
Document 5% · 10.8 KiB
Other 0% · 502 B

~23.3 KiB of savings available

Remove unused JavaScript: 23.3 KiB
A+
HTTP Caching
max-age=300 (5 minutes)
PASS
max-age=300 (5 minutes)
Info::
Cache-Control header is set
Got: public, max-age=300, s-maxage=60
Info::
Effective TTL: 5 minutes (max-age=300)
Info::
CDN TTL: 1 minute (s-maxage=60)
Info::
No ETag or Last-Modified header
Conditional requests (304 Not Modified) are not possible without validators.
Cache-Control

public, max-age=300, s-maxage=60

DirectiveValueMeaning
publicAny cache may store this response
max-age300Cache for 5 minutes
s-maxage60CDN caches for 1 minute
Effective TTL: 300 seconds
Network Waterfall
23 requests over 254ms
INFO
0 ms 200 ms 400 ms 600 ms 800 ms FCP 497 ms LCP 805 mshttps://www.gov.scot// https://www.gov.scot/ — 200 — 10.8 KiB — 11 ms — h3https://www.gov.scot/webfiles/1776248299365/assets/scripts/datalayer.js/webfiles/1776248299365/assets/scri... https://www.gov.scot/webfiles/1776248299365/assets/scripts/datalayer.js — 200 — 1.1 KiB — 10 ms — h3https://www.gov.scot/webfiles/1776248299365/assets/scripts/gtm.js/webfiles/1776248299365/assets/scri... https://www.gov.scot/webfiles/1776248299365/assets/scripts/gtm.js — 200 — 2.1 KiB — 13 ms — h3https://www.gov.scot/webfiles/1776248299365/assets/css/main.css/webfiles/1776248299365/assets/css/... https://www.gov.scot/webfiles/1776248299365/assets/css/main.css — 200 — 34.9 KiB — 10 ms — h3https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.cssmaxcdn.bootstrapcdn.com/font-awesom... https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css — 200 — 6.5 KiB — 46 ms — h3https://fonts.googleapis.com/css?family=Roboto:100,300,400,700,400italic&display=swapfonts.googleapis.com/css?family=Rob... https://fonts.googleapis.com/css?family=Roboto:100,300,400,700,400italic&display=swap — 200 — 2.4 KiB — 89 ms — h2https://www.gov.scot/webfiles/1776248299365/assets/scripts/js-enabled.js/webfiles/1776248299365/assets/scri... https://www.gov.scot/webfiles/1776248299365/assets/scripts/js-enabled.js — 200 — 840 B — 11 ms — h3https://www.gov.scot/assets/images/logos/scotgovlogo.svg/assets/images/logos/scotgovlogo.sv... https://www.gov.scot/assets/images/logos/scotgovlogo.svg — 200 — 2.3 KiB — 14 ms — h3https://www.gov.scot/binaries/content/gallery/featureditems/bank-holidays-png/bank-holidays-png/govscot%3Axlargethreecolumns/binaries/content/gallery/featuredi... https://www.gov.scot/binaries/content/gallery/featureditems/bank-holidays-png/bank-holidays-png/govscot%3Axlargethreecolumns — 200 — 4.7 KiB — 86 ms — h3https://www.gov.scot/webfiles/1776248299365/assets/scripts/global.js/webfiles/1776248299365/assets/scri... https://www.gov.scot/webfiles/1776248299365/assets/scripts/global.js — 200 — 33.0 KiB — 15 ms — h3https://www.gov.scot/webfiles/1776248299365/assets/scripts/home.js/webfiles/1776248299365/assets/scri... https://www.gov.scot/webfiles/1776248299365/assets/scripts/home.js — 200 — 1.3 KiB — 13 ms — h3https://www.gov.scot/binaries/content/gallery/featureditems/costofliving-support-work-jpeg/costofliving-support-work-jpeg/govscot%3Axlargethreecolumns/binaries/content/gallery/featuredi... https://www.gov.scot/binaries/content/gallery/featureditems/costofliving-support-work-jpeg/costofliving-support-work-jpeg/govscot%3Axlargethreecolumns — 200 — 8.7 KiB — 54 ms — h3https://www.gov.scot/assets/scripts/vendor/plausible/script.file-downloads.outbound-links.js/assets/scripts/vendor/plausible/sc... https://www.gov.scot/assets/scripts/vendor/plausible/script.file-downloads.outbound-links.js — 200 — 3.2 KiB — 12 ms — h3https://www.gov.scot/binaries/content/gallery/featureditems/council-elections.jpg/council-elections.jpg/govscot%3Axlargesevencolumns/binaries/content/gallery/featuredi... https://www.gov.scot/binaries/content/gallery/featureditems/council-elections.jpg/council-elections.jpg/govscot%3Axlargesevencolumns — 200 — 33.1 KiB — 63 ms — h3https://www.gov.scot/assets/scripts/vendor/svgxuse.min.js/assets/scripts/vendor/svgxuse.min.... https://www.gov.scot/assets/scripts/vendor/svgxuse.min.js — 200 — 3.4 KiB — 12 ms — h3https://www.gov.scot/webfiles/1776248299365/assets/images/icons/icons.stack.svg/webfiles/1776248299365/assets/imag... https://www.gov.scot/webfiles/1776248299365/assets/images/icons/icons.stack.svg — 200 — 3.4 KiB — 10 ms — h3https://www.gov.scot/binaries/content/gallery/navigationcardimages/swinney-portrait-jpg/swinney-portrait-jpg/govscot%3Axlargetwocolumns/binaries/content/gallery/navigatio... https://www.gov.scot/binaries/content/gallery/navigationcardimages/swinney-portrait-jpg/swinney-portrait-jpg/govscot%3Axlargetwocolumns — 200 — 4.7 KiB — 52 ms — h3https://www.gov.scot/assets/images/logos/ogl.svg/assets/images/logos/ogl.svg https://www.gov.scot/assets/images/logos/ogl.svg — 200 — 1.5 KiB — 12 ms — h3https://www.gov.scot/assets/images/logos/scottish-government--min.svg/assets/images/logos/scottish-gover... https://www.gov.scot/assets/images/logos/scottish-government--min.svg — 200 — 1.5 KiB — 10 ms — h3https://fonts.gstatic.com/s/roboto/v51/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3yUBHMdazQ.woff2fonts.gstatic.com/s/roboto/v51/KFO7... https://fonts.gstatic.com/s/roboto/v51/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3yUBHMdazQ.woff2 — 200 — 36.7 KiB — 49 ms — h3https://plausible.io/api/eventplausible.io/api/event https://plausible.io/api/event — 202 — 502 B — 59 ms — h2https://www.gov.scot/favicon.ico/favicon.ico https://www.gov.scot/favicon.ico — 200 — 10.1 KiB — 10 ms — h3https://www.gov.scot/favicon-32x32.png/favicon-32x32.png https://www.gov.scot/favicon-32x32.png — 200 — 2.5 KiB — 10 ms — h3
HTML JavaScript CSS Images Fonts XHR/Fetch Other
All checks on this page are automated. Results are estimates - run targeted manual reviews when the score affects a release decision.

Send Feedback