gzip

The gzip middleware supports the Accept-Encoding: gzip header and compresses or decompresses the contents of outgoing and incoming requests.

Documentation

Configuration

.rr.yaml
version: "3"

http:
  address: 127.0.0.1:15389
  middleware: [ gzip ]
  pool:
    num_workers: 10
    allocate_timeout: 60s
    destroy_timeout: 60s

The gzip middleware supports OpenTelemetry header propagation.

Last updated

Was this helpful?