We need an nginx module for this, so the web can speed up! ๐ :rocket:
yup, need nginx module, so the name would be ngx-zstd or ngx-zstandard ๐
yes please ๐
While this is a great idea, it will only be implemented if the major browsers decide to implement the decompression.
Request for HTTP content encoding has been formally started :
https://tools.ietf.org/id/draft-kucherawy-dispatch-zstd-00.html
Any plan for the nginx filter module for zstd? โบ
I guess it's tied to MIME / Media Type registration, which is currently being requested here :
https://tools.ietf.org/id/draft-kucherawy-dispatch-zstd-01.html
Any progress on this?
Yes,
final revision should be online in the next few days,
then final vote is planned May 24th.
@Cyan4973 thanks for the update ๐
Update:
Zstd has been standardized as RFC 8478, which included registering a "zstd" content coding for HTTP.
We would love to see community adoption of Zstd for HTTP. I plan to spend some of my time pushing to make that happen, and Nginx is definitely on my list of target projects. However, I don't expect to get to it in the near future. So if any of you want to write up a binding, that would certainly be welcome from our end!
I have created a repository https://github.com/tokers/zstd-nginx-module, to develop a Nginx module with the zstd support :)
Possibly relevant :
https://twitter.com/ruehsen/status/1050701663995129862
This is a candidate client to test any server-side implementation of zstd.
The zstd-nginx-module is complete (basically), I'd like to add some test cases when I have a vacation.
I don't test the compatibility with various Nginx version, I just test it with Nginx/1.15.5. Please report the compatibility broken problems to me if you ever encountered.
This Nginx module contains the basic functions to configure zstd (just like gzip and br).
PRs and issues are welcome if you think some features are good or some performances are bad.
See https://github.com/tokers/zstd-nginx-module for more details.
I have created another nginx module which named as ngx_http_zstd_static_module, to serve the pre-compressed zstd files on disk. This module is similar with ngx_http_gzip_static_module.
See https://github.com/tokers/zstd-nginx-module for more details.
I guess @tokers ' module closes this topic
I guess @tokers ' module closes this topic
Having to build your own version of nginx is quite the hurdle to jump through depending on the environment.
Has there been any effort to get the zstd module merged into upstream nginx?
I think having zstd available by default would significantly boost adoption.
Thanks,
Most helpful comment
Request for HTTP content encoding has been formally started :
https://tools.ietf.org/id/draft-kucherawy-dispatch-zstd-00.html