Description
As discussed in [0], this issue tracks allowing to specify the compression level when building packages. The primary idea is to avoid compressing (compression level = NO_COMPRESSION) already compressed binaries, identified based on their MIME type.
Setting the compression level is a tradeoff between the compression speed and the size of the compressed artefacts.
Different use cases likely favour maximising either of the two.
Therefor, it may make sense to allow configuring the compression levels per use case (not globally).
A generic way to express this configuration would be:
- a mapping from MIME type to compression level
- the default level (for MIME type not matching any entry in the mapping)
[0] https://www.mail-archive.com/dev@jackrabbit.apache.org/msg37807.html
Attachments
Attachments
Issue Links
- blocks
-
SLING-6616 [Performance] Tweak compression levels for speed
- Resolved
- incorporates
-
JCRVLT-164 Allow to define default compression level
- Closed
- is related to
-
JCRVLT-257 ZipException: invalid code lengths set
- Closed
-
JCRVLT-258 Default compression level incorrectly set to NO_COMPRESSION (0)
- Closed
-
JCRVLT-164 Allow to define default compression level
- Closed