-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Open
Labels
area-middlewareIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresblockedThe work on this issue is blocked due to some dependencyThe work on this issue is blocked due to some dependency
Milestone
Description
Is there an existing issue for this?
- I have searched the existing issues
Is your feature request related to a problem? Please describe the problem.
No response
Describe the solution you'd like
Zstandard, or zstd
, is a data compression mechanism described in RFC8878. It is a fast lossless compression algorithm, targeting real-time compression scenarios at zlib-level and better compression ratios. The "zstd" token was added as an IANA-registered Content-Encoding token as per https://datatracker.ietf.org/doc/html/rfc8878#name-content-encoding.
The Facebook/Zstd team has published some of their research on compression level vs. CPU vs. compression ratio.
Current support
- Chrome: Planned in version 118
- Safari: Not planned but with positive position
- Mozilla: Not planned with defer position
- Curl: Released since version 7.72.0
Features request
Request compression
- Support
zstd
as the token from theContent-Encoding
header in the request. - Decompress with Zstandard the request content.
Response compression
- Support
zstd
as a token from theAccept-Encoding
header in the request. - Compress with Zstandard when the
zstd
token is elected as response compression, and so stored in theContent-Encoding
header in the response.
Zstandard implementation
- Native: https://github.com/facebook/zstd
- .NET Runtime: Add support for Zstandard to System.IO.Compression runtime#59591
Additional context
No response
alexandrehtrb, ptasev, rducom, GerardSmit, Agagamand and 26 moreramonsmits
Metadata
Metadata
Assignees
Labels
area-middlewareIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresblockedThe work on this issue is blocked due to some dependencyThe work on this issue is blocked due to some dependency