-
-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[💡 FEATURE REQUEST]: Add zstd
support
#2080
Comments
I digged into this before. IUUIC, zstd will make sense for static content compression rather on the fly for each request:
If anything, brotli might be a better candidate. https://caniuse.com/brotli |
@rauanmayemir, maybe we should create two separate issues for @rustatian to decide. |
Adding |
@rustatian, let’s go for the |
Stumbled on to this issue, |
@sicet7 👋🏻 |
Plugin
HTTP Middleware (any)
I have an idea!
Nowadays,
zstd
became very popular compression standard in web world due to the ratio/speed balance of the corresponding Zstandard compression algorithm.https://en.wikipedia.org/wiki/Zstd
I think, it would be awesome to have it as a separate middleware to promote
zstd
support to RoadRunner-backed servers.EDIT: Pure Golang package: https://pkg.go.dev/github.com/klauspost/compress/zstd#section-readme
Example Usage
HTTP client sends:
Accept-Encoding: zstd
HTTP server sends:
Content-Encoding: zstd
Then, zstd-packed content after the headers.
EDIT(rustatian): if someone wanted to contribute, I've created a repository link for that.
The text was updated successfully, but these errors were encountered: