Guidelines · WSG 3.2
Minify and remove unused code
Unused JavaScript costs twice: the bytes on the wire, and the parse and execution time on a device you do not control.
How to satisfy it
- Minify every text asset in production; unminified CSS and JS are pure waste.
- Split bundles by route so a landing page does not carry the whole application.
- Audit for libraries used once, and for polyfills targeting browsers you no longer support.
- Remove dead CSS: unused rules ship on every page that includes the file.
Measured pages failing this guideline
From the 60 most recently measured pages. Each links to its full report.
- openai.com115 scripts total 3.93 MB on the wire (12.77 MB decoded). Bundles this size usually carry a lot of unused code.2.36 g CO₂e · 25.92 MB · about 982 kB recoverable
- openai.com85 scripts total 3.55 MB on the wire (11.59 MB decoded). Bundles this size usually carry a lot of unused code.0.778 g CO₂e · 8.53 MB · about 887 kB recoverable
- openrouter.ai123 scripts total 2.92 MB on the wire (8.10 MB decoded). Bundles this size usually carry a lot of unused code.0.452 g CO₂e · 4.88 MB · about 731 kB recoverable
- www.build3.org124 scripts total 2.91 MB on the wire (9.48 MB decoded). Bundles this size usually carry a lot of unused code.0.560 g CO₂e · 4.97 MB · about 727 kB recoverable
- open.spotify.com48 scripts total 2.87 MB on the wire (10.73 MB decoded). Bundles this size usually carry a lot of unused code.0.551 g CO₂e · 6.05 MB · about 717 kB recoverable
- www.smithsonianmag.com54 scripts total 2.54 MB on the wire (8.62 MB decoded). Bundles this size usually carry a lot of unused code.0.410 g CO₂e · 4.46 MB · about 636 kB recoverable
- forum.donanimhaber.com63 scripts total 2.36 MB on the wire (7.70 MB decoded). Bundles this size usually carry a lot of unused code.0.510 g CO₂e · 4.48 MB · about 590 kB recoverable
- typesafe.ai45 scripts total 2.17 MB on the wire (8.08 MB decoded). Bundles this size usually carry a lot of unused code.0.331 g CO₂e · 2.96 MB · about 542 kB recoverable
- console.hyperfluid.cloud236 scripts total 2.03 MB on the wire (1.95 MB decoded). Bundles this size usually carry a lot of unused code.0.213 g CO₂e · 2.35 MB · about 507 kB recoverable
- www.renaultgroup.com22 scripts total 1.68 MB on the wire (5.67 MB decoded). Bundles this size usually carry a lot of unused code.0.291 g CO₂e · 2.62 MB · about 420 kB recoverable
- unstructured.io11 assets were fetched more than once in a single page load (793 kB of repeated transfer).2.36 g CO₂e · 21.15 MB · about 394 kB recoverable
- www.google.com18 scripts total 1.55 MB on the wire (5.13 MB decoded). Bundles this size usually carry a lot of unused code.0.273 g CO₂e · 2.81 MB · about 389 kB recoverable