npm / @fastify/compress
@fastify/compress
What changed in @fastify/compress 9, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.
1 performance2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@fastify/compress 93 changes
Performance 1
Small buffered payloads are compressed synchronously, improving compression performance.
Fixes and other changes 2
Normalizes Vary header handling to prevent duplicate or omitted accept-encoding.
Fetch responses are unwrapped before the noCompress check, supporting SSE.