-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Bug in proxy-cache plugin returning compressed cached content to clients not supporting compression #12796
Comments
I'm unsure if we should consider this a bug or a possible improvement. But we could fix this and there's a workaround.
|
@StarlightIbuki @chronolaw Can you take a look at #12876 while you get time? |
@git-hulk Thanks for your contribution. I'm going to review it soon. |
This issue is marked as stale because it has been open for 14 days with no activity. |
@StarlightIbuki, how is the progress on the review on #12867? |
This issue is marked as stale because it has been open for 14 days with no activity. |
@tobiasehlert It's still pending decisions. |
This issue is marked as stale because it has been open for 14 days with no activity. |
Dear contributor, We are automatically closing this issue because it has not seen any activity for three weeks. Your contribution is greatly appreciated! Please have a look Sincerely, |
This issue is marked as stale because it has been open for 14 days with no activity. |
Is there an existing issue for this?
Kong version (
$ kong version
)Kong Enterprise 3.6.1.1
Current Behavior
I've got reports from users from my API that they get compressed output when the response was cached from another user.
Lets say for instance a
/api/healthz
page is called from one client with gzip compression enabled and then another client makes straight away another call to the same endpoint, then the second client is served the compressed cached content but in a not readable format.Expected Behavior
I expected that the proxy-cache plugin does take the compression part in consideration and returns a non-compressed content to the second client.
Or maybe something some possibility to convert compressed cached content to non-compressed content? I don't know exactly.
Steps To Reproduce
curl --compressed https://example.com/api/healthz -v --output -
curl https://example.com/api/healthz -v --output -
Anything else?
This is my Kubernetes resource:
The text was updated successfully, but these errors were encountered: