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

fix(core): use gzip compression for responses #4385

Merged
merged 1 commit into from Jan 20, 2021
Merged

fix(core): use gzip compression for responses #4385

merged 1 commit into from Jan 20, 2021

Conversation

allardy
Copy link
Member

@allardy allardy commented Jan 18, 2021

I have no idea why we didn't enable this earlier... But by enabling gzip compression (which is supported by all modern browsers), we reduce the amount of bandwidth by 80%. There's no visible gain on a quick internet access (because of the unzipping), but it should give a major improvement on slow connections.

I've added an environment variable to disable it just in case there is some issue with that, if we see that it causes no issues at all, we may remove it in a future release.

Before
image

After
image

@EFF EFF merged commit a4677ec into master Jan 20, 2021
@allardy allardy deleted the ya-gzip branch February 12, 2021 19:31
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.

None yet

2 participants