Guidelines · WSG 4.3
Reduce data transfer with compression
Text compresses by roughly two thirds, and it is a server setting rather than a code change. Uncompressed HTML, CSS, JS or JSON is the cheapest waste to eliminate.
How to satisfy it
- Enable Brotli or Zstandard, with gzip as the fallback, for every text content type. Evergreen browsers accept both; the gzip fallback covers the rest.
- Check JSON API responses and SVG: both are text and both are often missed.
- Confirm the CDN is not stripping or bypassing compression.
Measured pages failing this guideline
From the 60 most recently measured pages. Each links to its full report.
- bogazici.edu.tr11 text resources (1.27 MB) are served without gzip/Brotli.1.53 g CO₂e · 13.74 MB · about 886 kB recoverable
- yadyok.bogazici.edu.tr9 text resources (1.20 MB) are served without gzip/Brotli.3.28 g CO₂e · 29.49 MB · about 839 kB recoverable
- www.cnn.com4.02 MB of text ships gzip-compressed; Brotli or Zstandard would cut roughly another 15-20%, and browsers without them fall back to gzip automatically.1.79 g CO₂e · 15.89 MB · about 603 kB recoverable
- www.nytimes.com3.76 MB of text ships gzip-compressed; Brotli or Zstandard would cut roughly another 15-20%, and browsers without them fall back to gzip automatically.1.69 g CO₂e · 14.83 MB · about 565 kB recoverable
- eliasfarhan.ch3.20 MB of text ships gzip-compressed; Brotli or Zstandard would cut roughly another 15-20%, and browsers without them fall back to gzip automatically.0.689 g CO₂e · 7.59 MB · about 481 kB recoverable
- www.oulu.fi1 text resource (680 kB) are served without gzip/Brotli.0.141 g CO₂e · 1.26 MB · about 476 kB recoverable
- www.netlify.com1.91 MB of text ships gzip-compressed; Brotli or Zstandard would cut roughly another 15-20%, and browsers without them fall back to gzip automatically.0.295 g CO₂e · 2.63 MB · about 286 kB recoverable
- forum.donanimhaber.com1.75 MB of text ships gzip-compressed; Brotli or Zstandard would cut roughly another 15-20%, and browsers without them fall back to gzip automatically.0.510 g CO₂e · 4.48 MB · about 263 kB recoverable
- www.netcup.com1.23 MB of text ships gzip-compressed; Brotli or Zstandard would cut roughly another 15-20%, and browsers without them fall back to gzip automatically.0.253 g CO₂e · 2.75 MB · about 185 kB recoverable
- unstructured.io1.17 MB of text ships gzip-compressed; Brotli or Zstandard would cut roughly another 15-20%, and browsers without them fall back to gzip automatically.2.36 g CO₂e · 21.15 MB · about 176 kB recoverable
- www.smithsonianmag.com1.16 MB of text ships gzip-compressed; Brotli or Zstandard would cut roughly another 15-20%, and browsers without them fall back to gzip automatically.0.410 g CO₂e · 4.46 MB · about 174 kB recoverable
- www.flickr.com835 kB of text ships gzip-compressed; Brotli or Zstandard would cut roughly another 15-20%, and browsers without them fall back to gzip automatically.0.665 g CO₂e · 5.90 MB · about 125 kB recoverable