When a browser or scraper sends `Accept-Encoding: gzip` in a request header, the server may compress the response body with gzip before sending it. Large HTML documents (50–200 KB uncompressed) typically compress to 10–40 KB, significantly reducing bandwidth consumption and transfer latency — especially on mobile or slow connections.
Most HTTP client libraries (Python's requests, httpx, Node's axios) automatically send `Accept-Encoding: gzip, deflate, br` and transparently decompress the response, so scrapers receive the decompressed body without extra code. Brotli (`br`) is a newer, higher-compression alternative to gzip that is widely supported by modern browsers and CDNs.
For large-scale scraping, always requesting gzip compression reduces bandwidth costs. On cloud providers, egress is billed by byte transferred; compressed responses can halve the egress bill for HTML-heavy crawls.