From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Shmakov Newsgroups: gmane.emacs.devel Subject: Re: Why aren't ELPA packages compressed? Date: Mon, 04 May 2015 16:56:50 +0000 Message-ID: <87y4l4l1rh.fsf@violet.siamics.net> References: <21831.40666.491742.170889@a1i15.kph.uni-mainz.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1430758645 5350 80.91.229.3 (4 May 2015 16:57:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 May 2015 16:57:25 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 04 18:57:18 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YpJgE-0002Od-34 for ged-emacs-devel@m.gmane.org; Mon, 04 May 2015 18:57:18 +0200 Original-Received: from localhost ([::1]:35232 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpJgD-0007LW-F1 for ged-emacs-devel@m.gmane.org; Mon, 04 May 2015 12:57:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpJg6-0007L4-Qz for emacs-devel@gnu.org; Mon, 04 May 2015 12:57:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YpJg5-0006TA-SZ for emacs-devel@gnu.org; Mon, 04 May 2015 12:57:10 -0400 Original-Received: from fely.am-1.org ([2a01:4f8:d15:1b86::2]:53183) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpJg5-0006RN-Iv for emacs-devel@gnu.org; Mon, 04 May 2015 12:57:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:Sender:References:Subject:To:From; bh=qMlvm2NhPzZlW6Lg0FPGyDykkXwkLSnP6JUl10FSpEI=; b=XqkN7zCUuuHNx2N634UWKppXgO6K+0Nv95o4bItusr9uf3t/PgeD+03EslavlW5ZjPk//pYSHv7RMmPS9G2v6R49eZNZRV2qZ9TcJ9XjmNzoaqNeJ5PYSinGMQ+s44iArAcBysS7OSpHE3m+OqustjpsdY7VEo+HpElNgkbJ/gg=; Original-Received: from [2a02:2560:6d4:26ca::1:1d] (helo=violet.siamics.net) by fely.am-1.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1YpJfu-0005WT-8L for emacs-devel@gnu.org; Mon, 04 May 2015 16:56:58 +0000 Original-Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1YpJfn-0004tb-Dc for emacs-devel@gnu.org; Mon, 04 May 2015 23:56:51 +0700 Mail-Followup-To: emacs-devel@gnu.org In-Reply-To: <21831.40666.491742.170889@a1i15.kph.uni-mainz.de> (Ulrich Mueller's message of "Mon, 4 May 2015 18:31:22 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a01:4f8:d15:1b86::2 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:186195 Archived-At: >>>>> Ulrich Mueller writes: > Some packages in ELPA have sizes around 5 MB, so I wonder why they > can only be downloaded as uncompressed tarballs? > Everything that is necessary to handle compressed files should > already be there in Emacs. I guess that the reason=E2=80=99s similar to the HTTPS case: the Emacs compression support may be dependent on the presence of specific libraries (as in: Zlib) on the target system. That said, it should be perfectly possible to configure the Apache HTTP server at elpa.gnu.org for transparent compression support; that way, the data would be sent compressed by Apache whenever the client claims to support compression. (By the means of the =E2=80=98Accept-Encoding: gzip=E2=80=99 HTTP request header. A glance at url-http-create-request seems to suggest it /does/ implement support for such requests.) --=20 FSF associate member #7257 http://am-1.org/~ivan/ =E2=80=A6 3013 B6A0= 230E 334A