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 express compression for Prod and Unit Test Servers #1092

Merged
merged 2 commits into from
Jul 6, 2016
Merged

Add express compression for Prod and Unit Test Servers #1092

merged 2 commits into from
Jul 6, 2016

Conversation

vyakymenko
Copy link
Contributor

@vyakymenko vyakymenko commented Jul 6, 2016

Add express compression for serve.prod.
I think this make sense, show developers real size of application with gzip compression and loading time. It's very important when you make a visual testing with dev tools and using throttling.

Same thing I have add for unit test server to speed up unit test run.

@vyakymenko vyakymenko changed the title Add express compression for serve.prod Add express compression for Prod and Unit Test Servers Jul 6, 2016
@mgechev
Copy link
Owner

mgechev commented Jul 6, 2016

Makes sense. Does compression supports brotli as well?

@vyakymenko
Copy link
Contributor Author

@mgechev , as I know for now only deflate and gzip is supported.

@mgechev
Copy link
Owner

mgechev commented Jul 6, 2016

Yeah, here are more details expressjs/compression#71.

@mgechev mgechev merged commit 14def57 into mgechev:master Jul 6, 2016
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