A page that shipped 140 KB in 2024 and 18 KB in 2025, accounted for honestly.
-69 KB the map widget, loaded on interaction
rather than on load. 22% of visitors.
-31 KB three bespoke scripts converted to a shared
runtime — which is 12.8 KB and is now shipped
by core anyway.
-18 KB a date library replaced by Intl.
-4 KB dead code from a feature removed in 2023.
──────
-122 KB
and the 18 KB that remains: two components and a
progressive enhancement for the filter form.
The largest saving is the widget nobody could convert, deferred rather than optimised, which is the pattern in every one of these exercises. The shared runtime being shipped by core regardless means that saving is partly notional — the bytes moved from our budget to somebody else’s and the page total is what the user experiences.