Closed
Labels
feature requestIssues requesting new Node.js features.Issues requesting new Node.js features.never-staleIssues and PRs exempt from automated stale handling.Issues and PRs exempt from automated stale handling.
Description
What is the problem this feature will solve?
zstd and the application/zstd media type were standardized in 2018 in RFC8478 (and refined in RFC8878). In the context of the web, support is becoming more widespread:
Browsers
- Chrome
- Issue 1246971: Implement zstd content-encoding
- Expected to land in 117
- Firefox
- Bug 1301878: Implement support for Zstandard (zstd)
- Still under discussion
Web servers
- Caddy
- Nginx
Tools
- cUrl
- wget2
What is the feature you are proposing to solve the problem?
Add support for zstd compression in Node's zlib module.
What alternatives have you considered?
No response
Reacted by egoroof, Marco Ippolito, Audrey MP, Anna Owens, Justin Perez, Laura Jiang, PanSzelescik, Len Boyette, Kraktus, Will Stamper and 60 more
Metadata
Metadata
Assignees
Labels
feature requestIssues requesting new Node.js features.Issues requesting new Node.js features.never-staleIssues and PRs exempt from automated stale handling.Issues and PRs exempt from automated stale handling.
Type
Projects
- StatusShow more project fieldsAwaiting Triage
Activity
github-actions commentedon Dec 8, 2023
There has been no activity on this feature request for 5 months and it is unlikely to be implemented. It will be closed 6 months after the last non-automated comment.
For more information on how the project manages feature requests, please consult the feature request management document.
JamieMagee commentedon Dec 8, 2023
I think this is still relevant as the 22 π reactions (and counting) shows.
bricss commentedon Feb 17, 2024
Zstd Content-Encoding will start shipping π’ soon in modern web browsers, and its support in Node could be very handy, imo π
yyfearth commentedon Feb 23, 2024
available in in Chrome 121 now.
Accept-Encoding: gzip, deflate, br, zstdJamieMagee commentedon Feb 23, 2024
Support is also being tracked on caniuse: https://caniuse.com/zstd
12 remaining items
skhaz commentedon Oct 11, 2024
Keep
vejo2 commentedon Oct 26, 2024
Having made comparisons between compression methods for internal communication between serverless functions
zstdhas proven to have one huge advantage overdeflateandgzip:client side decompression for large blocks is MUCH faster then
inflateorgunzip.Similar to
brfor a blob written once and read many times for this usecase there is an overall gain usingzstd.Please keep this feature request for basic support.
255kb commentedon Nov 8, 2024
Not only clients like Chrome added support for zstd, but also CDNs like Cloudflare. They recently activated it automatically when "zstd" is present in the
Accept-encodingheader.It could be really useful to have it as part of zlib.
zlib: add zstd support
bjohansebas commentedon Feb 8, 2025
In which versions of Node.js will this feature be available?
JamieMagee commentedon Feb 8, 2025
Likely v24, which is scheduled to be released in April 2025.
EDIT: looks like it's also going to be included in v23.8.0.
zlib: add zstd support
zlib: add zstd support
zlib: add zstd support
zlib: add zstd support