nodejs / node

Node.js JavaScript runtime ✨🐢🚀✨
https://nodejs.org
Other
107.14k stars 29.36k forks source link

Support for zstd #48412

Open JamieMagee opened 1 year ago

JamieMagee commented 1 year ago

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

Web servers

Tools

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

github-actions[bot] commented 10 months ago

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 commented 10 months ago

I think this is still relevant as the 22 👍 reactions (and counting) shows.

bricss commented 7 months ago

Zstd Content-Encoding will start shipping 🚢 soon in modern web browsers, and its support in Node could be very handy, imo 🙄

yyfearth commented 7 months ago

available in in Chrome 121 now. Accept-Encoding: gzip, deflate, br, zstd

JamieMagee commented 7 months ago

Support is also being tracked on caniuse: https://caniuse.com/zstd

jkrems commented 6 months ago

Potential PR for basic support (no custom dictionaries): https://github.com/nodejs/node/pull/52100

github-actions[bot] commented 2 days ago

There has been no activity on this feature request for 5 months. To help maintain relevant open issues, please add the https://github.com/nodejs/node/labels/never-stale label or close this issue if it should be closed. If not, the issue will be automatically 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.

skhaz commented 2 days ago

Keep