Uploaded image for project: 'Jackrabbit FileVault'
  1. Jackrabbit FileVault
  2. JCRVLT-163

Avoid compressing incompressible binaries

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.1.40
    • Component/s: Packaging
    • Labels:
      None

      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

        1. JCRVLT-163.patch
          29 kB
          Timothee Maret

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                marett Timothee Maret
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: