Skip to content

Feature: Allow configuring Compression Level #518

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

Open
antdking opened this issue May 20, 2020 · 0 comments
Open

Feature: Allow configuring Compression Level #518

antdking opened this issue May 20, 2020 · 0 comments

Comments

@antdking
Copy link

Currently, all the requirements are zipped using Deflate, at a compression level of 9.

for our bundle, this results in a file size of 21.5 mb, with sls package taking around 28 seconds.
Changing the compression level to 5 results in a 22.0mb bundle, with packaging taking around 11 seconds.

For us, this would be a quick win for reducing our deploy times.

Please allow for the compression level to be configurable.

It might also be worth reducing the default compression level, though this could be considered a breaking change

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

No branches or pull requests

1 participant