www.legislation.gov.uk speed test — 20 Oct 2026

Measured from the wfix.shop server on 20 October 2026 at 13:34 UTC. Grade A (93/100), with the screenshots, the timings and the fixes that matter.

https://www.legislation.gov.uk:443/

20 October 2026 at 13:34 UTC · Free test · report pt_b27173f91521
Grade
A
93/100
Performance100/100
Structure83/100

13 audit(s) passed, 3 need work

First byte (TTFB)187 msmeasured from this server
Fully loaded1.10 sfirst byte + slowest asset
Requests19document + assets
Page weight156.7 KBcompressed transfer
HTML document4.9 KBgzip
ProtocolHTTP/2Apache
Third-party92 Bother hosts

Where the first byte went

  • DNS lookup 57 ms 30%
  • TCP connect 24 ms 13%
  • Server wait 106 ms 57%

Measured on the connection that fetched the HTML. Every other request on the page waits for the end of this bar before it can start.

How this page compares

First bytefaster than 94% of 4,999 pages tested here187 ms against a median of 449 ms
Page weightlighter than 83% of 4,999 pages tested here156.7 KB against a median of 650.5 KB
Fully loadedfaster than 90% of 4,999 pages tested here1.10 s against a median of 1.84 s
Requestssends fewer requests than 80% of 4,999 pages tested here19 against a median of 26

Every report published here is in this comparison, so it is a reference population of pages tested from one server - not a benchmark of the whole web.

What these numbers mean

  • The server answered in 187 ms, which is fast: almost all of the wait is the page itself, not the host.
  • The page transfers 156.7 KB over 19 request(s). Javascript files are 35% of it, so defer what is not needed for the first screen, and drop tags nobody uses.
  • The HTML itself arrives gzip-compressed.
  • It runs over HTTP/2, so the assets share a connection instead of opening one each.
  • The largest element took 9.99 s to paint, past the 2.5 s threshold: usually a hero image that is too big or a render-blocking script in front of it.
  • Layout stayed still (CLS 0.003), so nothing jumps under the reader's cursor.

Fix first: Render-blocking resources - Add defer or async to scripts that do not change the first paint, inline the critical CSS, and load the rest with media="print" plus an onload swap.

Read on one shared server, not a visitor's phone: use it to compare pages against each other, not as a promise about every connection. We fix what these tests find.

Screenshot

What the page looks like

Loaded in headless Chromium on this server. Click an image to open it full size.

Mobile screenshot of www.legislation.gov.uk
Mobile 390 × 844 · 36.5 KB · page is 3376 px tall

Browser render

The same URL loaded in a real browser, so these are the readings curl cannot produce. The grade above is still built from the server measurements.

Largest contentful paint9.99 sgood is under 2.5 s
Cumulative layout shift0.003under 0.1 is stable
Total blocking timenone over 50 mslong tasks during load
First contentful paint9.70 sfirst content on screen
Browser page weight430.2 KB28 request(s), scripts included
Largest contentful paint9.99 s
Poorgood under 2.5 s, poor over 4 s
Cumulative layout shift0.003
Goodgood under 0.1, poor over 0.25
Total blocking timenone over 50 ms
Goodgood under 200 ms, poor over 600 ms

Page weight by type

What the page is made of

Javascript 8 requests
55.2 KB 35%
Css 5 requests
51.0 KB 33%
Images 4 requests
45.6 KB 29%
Html 1 request
92 B 0%

Transfer size, compressed as sent. 19 request(s) in total, 156.7 KB across all of them.

Top issues

Render-blocking resources

high impact

15 render-blocking resource(s) in the document head (8 script(s), 7 stylesheet(s)). The page cannot paint until each one arrives.

Fix: Add defer or async to scripts that do not change the first paint, inline the critical CSS, and load the rest with media="print" plus an onload swap.

Cache static assets

medium impact

17 asset(s) answer without a Cache-Control max-age, so browsers revalidate them on every visit.

Fix: Version filenames on change and serve them with a long max-age plus immutable. That is what makes a returning visitor fast.

Avoid extra redirects

medium impact

1 redirect hop(s) before the page load started, each one a full round trip before the first byte.

Fix: Link to the canonical URL (and make sure http, the apex domain and www all point at it) so no visitor pays a redirect first.

Waterfall

Slowest requests

IMAGESwww.legislation.gov.uk/images/chrome/apple-touch-icons/apple-…
911 ms
IMAGESwww.legislation.gov.uk/images/chrome/site_logo_legislation.gif
910 ms
IMAGESwww.legislation.gov.uk/favicon.ico
876 ms
IMAGESwww.legislation.gov.uk/images/chrome/ogl-symbol.gif
782 ms
HTMLwww.googletagmanager.com/ns.html
765 ms
CSSwww.legislation.gov.uk/styles/buy-now.css
761 ms
JAVASCRIPTwww.legislation.gov.uk/scripts/CentralConfig.js
746 ms
JAVASCRIPTwww.legislation.gov.uk/scripts/jquery-cookie-directive/jquery…
746 ms
JAVASCRIPTwww.legislation.gov.uk/scripts/jquery-4.0.0.min.js
743 ms
CSSwww.legislation.gov.uk/styles/screen.css
740 ms

Each bar is one request's own response time, scaled to the slowest. Assets were fetched in parallel, so the bars overlap in real time rather than stacking. first party third party

RequestTypeStatusTimeSize
https://www.legislation.gov.uk:443/images/chrome/apple-touch-icons/apple-touch-icon.pngimages200911 ms36.5 KB
https://www.legislation.gov.uk:443/images/chrome/site_logo_legislation.gifimages200910 ms6.7 KB
https://www.legislation.gov.uk:443/favicon.icoimages200876 ms1.4 KB
https://www.legislation.gov.uk:443/images/chrome/ogl-symbol.gifimages200782 ms1.0 KB
https://www.googletagmanager.com/ns.html?id=GTM-TWB7339 3rd partyhtml200765 ms92 B
https://www.legislation.gov.uk:443/styles/buy-now.csscss200761 ms749 B
https://www.legislation.gov.uk:443/scripts/CentralConfig.jsjavascript200746 ms3.6 KB
https://www.legislation.gov.uk:443/scripts/jquery-cookie-directive/jquery-cookie-functions.jsjavascript200746 ms1.2 KB
https://www.legislation.gov.uk:443/scripts/jquery-4.0.0.min.jsjavascript200743 ms26.9 KB
https://www.legislation.gov.uk:443/styles/screen.csscss200740 ms19.9 KB
https://www.legislation.gov.uk:443/styles/print.csscss200737 ms478 B
https://www.legislation.gov.uk:443/styles/website.csscss200734 ms29.4 KB
https://www.legislation.gov.uk:443/styles/survey/survey.csscss200733 ms595 B
https://www.legislation.gov.uk:443/scripts/cookie-directive.jsjavascript200727 ms3.7 KB
https://www.legislation.gov.uk:443/scripts/jquery-cookie-directive/jquery.cookie.jsjavascript200723 ms1.0 KB
https://www.legislation.gov.uk:443/scripts/chrome.jsjavascript200720 ms16.3 KB
https://www.legislation.gov.uk:443/scripts/homepageChrome.jsjavascript200720 ms1.4 KB
https://www.legislation.gov.uk:443/scripts/survey/survey.jsjavascript200720 ms1.1 KB
Report this page

The page is removed when the owner agrees. Sending this removes nothing by itself.

Run this test on your own site

The same engine, free, with the screenshots and the fixes. No account needed.