EN, Change language
Englishالعربية
BH-106

Text responses are compressed (gzip or Brotli).

The requirement

Text responses are compressed (gzip or Brotli).

Why it matters to users

Uncompressed HTML, CSS and JavaScript travel at several times the size they need to. The citizen spends more of their data and waits longer for nothing.

How to fix it

Turn on gzip or Brotli compression on your server or CDN for HTML, CSS, JavaScript and SVG responses. Then scan again.

How we measure it

content-encoding of HTML, CSS and JS responses.

Its official source

Related rules

Text compression on · Bahrain BH-106 | xfix