/Knowledge/sources/honojs__hono/llms-full/compress-middleware-options-encoding-gzip-deflate--a377aa28d4f8.md
Compress Middleware: Options > encoding: 'gzip' | 'deflate' - hono-docs
Compress Middleware: Options encoding: 'gzip' | 'deflate' Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full....
Compress Middleware: Options > encoding: 'gzip' | 'deflate'
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#encoding-gzip-deflate
Summary
The compression scheme to allow for response compression. Either gzip or deflate. If not defined, both are allowed and will be used based on the Accept-Encoding header. gzip is prioritized if this option is not provided and the c...
Content
The compression scheme to allow for response compression. Either gzip or deflate. If not defined, both are allowed and will be used based on the Accept-Encoding header. gzip is prioritized if this option is not provided and the client provides both in the Accept-Encoding header.
Metadata
{
"chunk_index": 0,
"citation": "https://hono.dev/llms-full.txt#encoding-gzip-deflate",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / Compress Middleware > Options > encoding: `'gzip'` | `'deflate'`",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 356,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "Compress Middleware: Options > encoding: 'gzip' | 'deflate'",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}