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

Add config option to disable gateway auto gzip response feature #3538

Closed
t83714 opened this issue Jun 11, 2024 · 1 comment
Closed

Add config option to disable gateway auto gzip response feature #3538

t83714 opened this issue Jun 11, 2024 · 1 comment
Assignees

Comments

@t83714
Copy link
Contributor

t83714 commented Jun 11, 2024

Add config option to disable gateway auto gzip response feature

Currently, the gateway uses compression middleware to auto-gzip response (depending on MIME type).

However, there would be situations we will want to disable the "auto-gzip response" feature e.g. when the ingress support gzip response or it prevents Server Side Event stream from working.

p.s. instead of disabling compression middleware, you can also respond to the Cache-Control header with the no-transform directive as compression middleware will never gzip response for this case.

This ticket is about adding a helm chart config option to Magda gateway chart that allows users to disable the "auto-gzip response" feature.

@t83714 t83714 self-assigned this Jun 11, 2024
t83714 added a commit that referenced this issue Jun 11, 2024
t83714 added a commit that referenced this issue Jun 19, 2024
#3538 Add helm chart configuration option allows users to disable gateway auto-gzip response feature
@t83714
Copy link
Contributor Author

t83714 commented Jun 19, 2024

closed via PR: #3539

@t83714 t83714 closed this as completed Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant