in #2401 I had proposed using a go-native brotli package, but it was said that since CGO is already used here, it is preferred to just use the official brotli via CGo.
It was also said there that, in fact, perhaps frankenphp should use a CGo zstd package rather than caddy's zstd, which uses klauspost/compress
Ive found a couple CGo zstd packages. Both seem maintained and reputable. No idea which would be better though.
Presumably this would result in faster zstd compression in the hotpath
in #2401 I had proposed using a go-native brotli package, but it was said that since CGO is already used here, it is preferred to just use the official brotli via CGo.
It was also said there that, in fact, perhaps frankenphp should use a CGo zstd package rather than caddy's zstd, which uses klauspost/compress
Ive found a couple CGo zstd packages. Both seem maintained and reputable. No idea which would be better though.
Presumably this would result in faster zstd compression in the hotpath