From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: Compressing ELPA Date: Wed, 3 Aug 2016 12:08:25 -0400 Message-ID: <3b1b8be3-3521-8aa5-cc46-7df181e26bdb@gmail.com> References: <87furnhj3g.fsf@lifelogs.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="hfKmC35dTb2uwGk26PCspvaO4N0epARVN" X-Trace: blaine.gmane.org 1470240545 9773 195.159.176.226 (3 Aug 2016 16:09:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 3 Aug 2016 16:09:05 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 03 18:08:55 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bUyj0-0001Ft-Qy for ged-emacs-devel@m.gmane.org; Wed, 03 Aug 2016 18:08:54 +0200 Original-Received: from localhost ([::1]:35531 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUyix-0003ai-Cs for ged-emacs-devel@m.gmane.org; Wed, 03 Aug 2016 12:08:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUyik-0003Sg-9M for emacs-devel@gnu.org; Wed, 03 Aug 2016 12:08:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUyif-0002tx-EU for emacs-devel@gnu.org; Wed, 03 Aug 2016 12:08:37 -0400 Original-Received: from mout.kundenserver.de ([212.227.126.131]:57081) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUyif-0002td-3A for emacs-devel@gnu.org; Wed, 03 Aug 2016 12:08:33 -0400 Original-Received: from [18.189.62.146] ([18.189.62.146]) by mrelayeu.kundenserver.de (mreue003) with ESMTPSA (Nemesis) id 0LtRzc-1b5uvk07Jk-010vgc for ; Wed, 03 Aug 2016 18:08:32 +0200 In-Reply-To: X-Provags-ID: V03:K0:WGFAamQ84pcbFp9s192biF93WcoZ/mISIvLj4DFu9uOcALFRNnB 5YSXThnXMa14tvrhxPootwvnYLS8pfo7rWL+86fL6KY4SooW7LurLGisAqkQXHDadIW+3BY Ol/wkVfnyse5uYLM3ULWJN5tK1RBWioV217kAFnjyH0USsvltFGfNiiocbN+5N09Hzf6mpD Nh9EhqZX0+msp/oGVcnWw== X-UI-Out-Filterresults: notjunk:1;V01:K0:QOFazYhFahM=:XfjtdT6wNo4AfFFxhJpFUH /WreNO1nhDtGcvEszMsR04Ybc6pfM8dki/Yc63oa9dqwhjpxqg6+85Pd+JM2Xm/K1qKNLWpLV Yyvd/f3yxj1s4VhLOOshwcVdMTW3E6+MkPZueBocJR+EMCqnLJP8LK90IB8GVh9kckQFH99fH fefjKgvw1jYLegtvIIS/9XJSbqMqOdGuw5zub9g29RUGuPUVfj4rOpLZS5V30uT1sKvGf76RM JiGbBoq/IwhxB00fZz3su1UHehgp6JI7IGq31VFrAQB82DpG2cOWbi3j9e8/w7VsM4Xbb9zQk jlkDGk8Wtmwr1C3tEn+W+sGVude2Y6V0P4mjgVDR/PBzQQaW9+kSxMT+uhMg34LL3xJSA6Pxr FSd9rbmmh89DFdrXJ7yU7F3zB/7I0PLAkSWt34e1ks+zfP1AaQeKJBASIG00sZky3IdF15rdM mBNNR17mFZjXYS539alA2rRAnI4RfOnaRa/Wu8xABqBS5TMLnwm9SlOhG/TRKJFDvGTAuqC5Y 6WtALmHHcgs6EyAQXljj0Len3Ro8sNGJEx+s+ujx/csUFXI8JJby8pI9ipwoRfbLKZE8HyRYS yBdmX0zWmMSEp9BsnOzWGmQqV778JjKWdFR5mBothAA/vToiTYbVz18RICpcnZx4FBXqHXJaa 1gJnbGizfbqL3QejLqX70OGU4pbt0YG7VUm4LODRYrLBdhO7+hzf2aWwu2iBxpUsHblI= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.131 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:206397 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --hfKmC35dTb2uwGk26PCspvaO4N0epARVN Content-Type: multipart/mixed; boundary="5Au1FpLAxdgNXqmNpg448C5WfpDh73AFL" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: emacs-devel@gnu.org Message-ID: <3b1b8be3-3521-8aa5-cc46-7df181e26bdb@gmail.com> Subject: Re: Compressing ELPA References: <87furnhj3g.fsf@lifelogs.com> In-Reply-To: --5Au1FpLAxdgNXqmNpg448C5WfpDh73AFL Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2016-07-20 09:00, Stefan Monnier wrote: > I know in theory we could have the web server de-compress the files on > the fly if/when the client doesn't support compression, but somehow > I wasn't able to make this work > (http://stackoverflow.com/questions/26895894/get-apache-to-auto-decompr= ess-a-file-but-only-if-needed). Couldn't you do it the other way around? That is, could the files be stor= ed uncompressed on the server, and could the compression be taken care of= by the server itself, when requests arrive? (Isn't that the standard way= to do things?) Looking at headers, it seems that on my machine package.el already sends = (via url) the right header: Accept-encoding: gzip And yet the server returns a plain file (that is, I'm not seeing Content-= Encoding: gzip) in the response. Cl=E9ment. --5Au1FpLAxdgNXqmNpg448C5WfpDh73AFL-- --hfKmC35dTb2uwGk26PCspvaO4N0epARVN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXohb5AAoJEPqg+cTm90wjQ+gP/2ANjYESjwOgAsX11mr6BrcG gxV6ZDXFQADc40cBKrxQtWjRn7mE/b7Tz90t39dDyO/labGZJDUICe7Xi8biiGEm 0YnvqqAEl8qaikk/FuOm3XDP1cj0WxfqJtttOOlbnPLJ0EBHJgSK++H8aP7J3Rbp tCMsLN8Nm7/PnD2lZnBu2wGWabzNxmy2jgfn+vABRNlZkXsqGEQx7sGgiEIznQhJ GoO7COoipa0kw1UeyOx8rO9CAynA81mzukzXORcoqvZHN2eQlN7iRn4IZ4XDx/WW xT/MiEmpSxODRzgiWiXfaTMCyCPPiUh49TZo7xUqJu+qYkYuibaJ88FyEMVvT73F 686DKylidK0eqTAoBI8e2BNebwxdYzx43DpvQAfUcWNZA8EXUUoPorG5SVzj8Jza D3rv2hqBLkzI3xytJRNbYHLsSLBLPZlMY3X8dTZ05BTCfVDP3iiZVlowlV1Xz7lt PDMqNlrGX/sJVkyD7WI3MG67G7EJrHwm/282/geyb16H/nFg3d97QxE+keQy2cMR mem9JBPGKIBM6yN8fBaRD5xWbWI5GXHMoD+sOrLEP8gF0rnhC2etjhfUjxclTL8X bwJ9ydwMIPvoAJjhYjf6l+kgtwFwdCVjOuLQjFQ7Ldngg3S62LzfbW4Ig0sSN092 Syb1QWmE8eHtH2oXrV+E =XKDq -----END PGP SIGNATURE----- --hfKmC35dTb2uwGk26PCspvaO4N0epARVN--