Unapproved prototype. Not approved for use in a live service.

Carbon

Page-type byte budgets, measured from the pages as they actually render. The build fails if a budget is exceeded.

Directional figures for comparing design decisions, not audited emissions data. SWDM v4 via CO2.js, GB grid intensity, green hosting assumed false. There is deliberately no rating: an absolute figure is not good or bad on its own.

Budgets and current measurements

Budgets from carbon-budgets.json, measurements from the committed baseline. Both are the files the check itself reads.

Page type HTML JavaScript Fonts
Check Answers 1.1 KB / 3.4 KB 10.9 KB / 11.7 KB 0 B
Question Page 1.1 KB / 2.4 KB 10.9 KB / 11.7 KB 0 B
Start Page 1.2 KB / 2.4 KB 10.9 KB / 11.7 KB 0 B

Shared stylesheet: 17.1 KB gzipped, against a 19.5 KB budget.

Why the fonts budget is zero

Outside the GOV.UK proposition a service must not use GDS Transport, so Defra mode uses a system font stack. That removes two font files rather than making them smaller — around 63 KB on a first uncached load, which is the largest single saving here and more than every other decision put together. The budget is zero rather than merely small because there is nothing left to download.

What the number is not

It is not a score, and nothing here is graded. The uncertainty in the model cannot support a grade, and a grade travels out of context in a way a raw number does not. Compare against the committed baseline, or against the alternative design decision, and publish the method alongside any figure.

Green hosting is the largest lever and is not in this repository: it sits with Core Delivery Platform. Report that alongside any figure taken from here.