Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EA8CC200C41 for ; Fri, 10 Mar 2017 03:03:41 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E9075160B84; Fri, 10 Mar 2017 02:03:41 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3FFB3160B75 for ; Fri, 10 Mar 2017 03:03:41 +0100 (CET) Received: (qmail 42528 invoked by uid 500); 10 Mar 2017 02:03:40 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 42518 invoked by uid 99); 10 Mar 2017 02:03:40 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Mar 2017 02:03:40 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id F0097C0D2D for ; Fri, 10 Mar 2017 02:03:39 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.651 X-Spam-Level: X-Spam-Status: No, score=0.651 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id pHjSt5JP0sDx for ; Fri, 10 Mar 2017 02:03:39 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id D1CDA60DBE for ; Fri, 10 Mar 2017 02:03:38 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 4E682E0596 for ; Fri, 10 Mar 2017 02:03:38 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 040C3243A8 for ; Fri, 10 Mar 2017 02:03:38 +0000 (UTC) Date: Fri, 10 Mar 2017 02:03:38 +0000 (UTC) From: "Tobias Bocanegra (JIRA)" To: dev@jackrabbit.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (JCRVLT-163) Avoid compressing incompressible binaries MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 10 Mar 2017 02:03:42 -0000 [ https://issues.apache.org/jira/browse/JCRVLT-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tobias Bocanegra updated JCRVLT-163: ------------------------------------ Fix Version/s: (was: 3.1.36) 3.1.38 > Avoid compressing incompressible binaries > ----------------------------------------- > > Key: JCRVLT-163 > URL: https://issues.apache.org/jira/browse/JCRVLT-163 > Project: Jackrabbit FileVault > Issue Type: Improvement > Components: Packaging > Affects Versions: 3.0 > Reporter: Timothee Maret > Fix For: 3.1.38 > > > 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 -- This message was sent by Atlassian JIRA (v6.3.15#6346)