Skip to content
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

Using stampede with compress middleware. #15

Open
rassakhatsky opened this issue Apr 12, 2024 · 0 comments
Open

Using stampede with compress middleware. #15

rassakhatsky opened this issue Apr 12, 2024 · 0 comments

Comments

@rassakhatsky
Copy link

I'm trying to figure out how to use stampede on a single route level with compress middleware.
The issue is that compress middleware adds a Content-Encoding header before stampede will cache it. So on the next request data with Content-Encoding would be returned as is, because compress middleware would think that data has been compressed.
I'm willing to raise a PR fix, but not fully sure about direction. Is it an issue with compression logic or caching?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant