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

Compress text content by default in HTTP responses #781

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

labkey-jeckels
Copy link
Contributor

Rationale

We used to have docs encouraging admins to enable compression in HTTP responses. With Spring Boot, we can set the default ourselves.

We don't need to adjust the size threshold is 2KB (same as our recommendations before) or MIME types from Spring Boot's defaults:

https://docs.spring.io/spring-boot/docs/current/reference/html/application-properties.html#application-properties.server.server.compression.enabled

https://www.labkey.org/Documentation/Archive/23.11/wiki-page.view?name=configTomcat#10

Changes

  • Compress by default

Copy link
Contributor

@labkey-adam labkey-adam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm looking forward to faster local responses

@labkey-jeckels labkey-jeckels merged commit 6ee4055 into release24.3-SNAPSHOT Apr 3, 2024
6 checks passed
@labkey-jeckels labkey-jeckels deleted the 24.3_fb_compressResponse branch April 3, 2024 16:27
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

Successfully merging this pull request may close these issues.

2 participants