Skip to content
This repository was archived by the owner on Mar 3, 2020. It is now read-only.

Add body compression middleware#103

Open
cometkim wants to merge 1 commit intovelopert:masterfrom
cometkim:compress-body
Open

Add body compression middleware#103
cometkim wants to merge 1 commit intovelopert:masterfrom
cometkim:compress-body

Conversation

@cometkim
Copy link

Compressing the body string (gzip, or brotli if available) is the easiest way to increase your app perf. ✌️

It compresses over 70% of API responses larger than 1k and converts them into chucked streams.

Enjoy!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant