-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support zstd Content-Encoding #50643
Comments
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
Chrome has committed to shipping Zstd Content-Encoding in v123, and Safari and Firefox have both indicated a positive position toward the proposal. |
Chrome 123 release support zstd
Could you consider it for .NET 9 ? |
Since the 126 release Mozilla Firefox also supports zstd compression: https://www.mozilla.org/en-US/firefox/126.0/releasenotes/ |
In case anyone wants to implement zstd compression support in your ASP.NET Core pipeline, I just merged a pull request in my side project by utilizing the OSS ZstdSharp library. It's a suitable way until the .NET team releases an own implementation. Works splendid on major browsers. |
@rgueldenpfennig very nice work! |
Is there an existing issue for this?
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
Features request
Request compression
zstd
as the token from theContent-Encoding
header in the request.Response compression
zstd
as a token from theAccept-Encoding
header in the request.zstd
token is elected as response compression, and so stored in theContent-Encoding
header in the response.Zstandard implementation
Additional context
No response
The text was updated successfully, but these errors were encountered: