-
Notifications
You must be signed in to change notification settings - Fork 43
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
Add middleware to compress responses #326
Labels
Enhancement / Feature Request
Something New
Comments
@josecelano Do we want to use this as default or do we want to enable/disable this via a config line? |
Hello @alexohneander HTTP since the big-bang has supported compression, I sugest that we just blanket enable it for everything; it is a cheap and effective optimization. |
josecelano
added a commit
that referenced
this issue
Aug 26, 2023
…outers 22bb98a #326: Use only compression features of tower-http (Alex Wellnitz) 76b270b #326: Add tower-http compression as middleware (Alex Wellnitz) Pull request description: Modified: I have added tower-http compression as middleware on both HTTP routers(API, Tracker HTTP). All tests were run and were okay. ACKs for top commit: josecelano: ACK 22bb98a Tree-SHA512: 0513f81731d8e0f57e3f26039f727dae01a41ecacd01cabd0b77ee5644e680302e59da762b932afda59ba6a4a7b40c31baf580082031e1a893f09128425055f3
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The HTTP tracker and the API do not send a compressed response.
tower_http::compression middleware could be used.
Links
The text was updated successfully, but these errors were encountered: