Chrome and Firefox both support zstd compression, this nginx module https://github.com/tokers/zstd-nginx-module adds zstd compression to nginx. Unfortunately, I'm not quite confident to add a patch myself. Is it possible to add it as an option to www/nginx?
This module was added to nginx-devel in f7874dbf216490b49e8236a4ac2000d865e4b099: https://cgit.freebsd.org/ports/commit/?id=f7874dbf216490b49e8236a4ac2000d865e4b099
(In reply to Herbert J. Skuhra from comment #1) thank you! I hadn't looked there.
i will take a look for (free-)nginx
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=fde143d86b688cd85c979a269d439b2f8907ed5b commit fde143d86b688cd85c979a269d439b2f8907ed5b Author: Jochen Neumeister <joneum@FreeBSD.org> AuthorDate: 2025-11-09 19:32:16 +0000 Commit: Jochen Neumeister <joneum@FreeBSD.org> CommitDate: 2025-11-09 19:33:37 +0000 www/nginx: add third-party zstd module PR: 284075 Sponsored by: Netzkommune GmbH www/nginx/Makefile | 2 +- www/nginx/Makefile.extmod | 8 +++++++- www/nginx/Makefile.options.desc | 1 + www/nginx/distinfo | 4 +++- www/nginx/pkg-plist | 2 ++ 5 files changed, 14 insertions(+), 3 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3dde45e93e286594ee526eb9b5836cda79c24dc2 commit 3dde45e93e286594ee526eb9b5836cda79c24dc2 Author: Jochen Neumeister <joneum@FreeBSD.org> AuthorDate: 2025-11-09 19:36:23 +0000 Commit: Jochen Neumeister <joneum@FreeBSD.org> CommitDate: 2025-11-09 19:36:23 +0000 www/nginx-full: add third-party zstd module PR: 284075 Sponsored by: Netzkommune GmbH www/nginx-full/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=75ff59425478d97060585d50d9fb044ef31db5a9 commit 75ff59425478d97060585d50d9fb044ef31db5a9 Author: Jochen Neumeister <joneum@FreeBSD.org> AuthorDate: 2025-11-09 19:44:36 +0000 Commit: Jochen Neumeister <joneum@FreeBSD.org> CommitDate: 2025-11-09 19:44:36 +0000 www/freenginx: add third-party zstd module PR: 284075 Sponsored by: Netzkommune GmbH www/freenginx/Makefile | 2 +- www/freenginx/Makefile.extmod | 8 +++++++- www/freenginx/Makefile.options.desc | 1 + www/freenginx/distinfo | 4 +++- www/freenginx/pkg-plist | 2 ++ 5 files changed, 14 insertions(+), 3 deletions(-)