Skip to content

Use level 9 Zlib compression#7513

Merged
devongovett merged 2 commits into
parcel-bundler:v2from
101arrowz:patch-2
Jan 5, 2022
Merged

Use level 9 Zlib compression#7513
devongovett merged 2 commits into
parcel-bundler:v2from
101arrowz:patch-2

Conversation

@101arrowz

Copy link
Copy Markdown
Member

↪️ Pull Request

Use max-level compression for Gzip by default. As far as I know BROTLI_DEFAULT_QUALITY == BROTLI_MAX_QUALITY, so max-level compression is already done in the Brotli compressor by default.

Closes #7087

Not really much to test here. This is a minor improvement in compression quality for ~50% slower performance in my experience, but most web assets are so tiny that this performance hit really doesn't matter for build times, while the bytes saved could be nice for production.

@height

height Bot commented Jan 1, 2022

Copy link
Copy Markdown

Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword link (e.g. "Link T-123").

💡Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.

@devongovett devongovett merged commit 18a5bb4 into parcel-bundler:v2 Jan 5, 2022
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