TL;DR
Compression is the encoding of text-based responses (HTML, CSS, JavaScript, JSON, SVG) using an algorithm such as Brotli or Gzip so that the server transmits a smaller payload that the browser decompresses on receipt.
What is Compression (Brotli / Gzip)?
Compression is the encoding of text-based responses (HTML, CSS, JavaScript, JSON, SVG) using an algorithm such as Brotli or Gzip so that the server transmits a smaller payload that the browser decompresses on receipt.
Learn more in our how to improve compression guide, or work with us through our done-for-you speed optimization service.
How Compression (Brotli / Gzip) is Measured
The Content-Encoding response header indicates which algorithm is in use, and Lighthouse audits 'Enable text compression'.
