unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ivan Shmakov <ivan@siamics.net>
To: emacs-devel@gnu.org
Subject: Re: Why aren't ELPA packages compressed?
Date: Mon, 04 May 2015 16:56:50 +0000	[thread overview]
Message-ID: <87y4l4l1rh.fsf@violet.siamics.net> (raw)
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")

>>>>> Ulrich Mueller <ulm@gentoo.org> 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’s 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 ‘Accept-Encoding: gzip’ HTTP request header.
	A glance at url-http-create-request seems to suggest it /does/
	implement support for such requests.)

-- 
FSF associate member #7257  http://am-1.org/~ivan/      … 3013 B6A0 230E 334A



  reply	other threads:[~2015-05-04 16:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-04 16:31 Why aren't ELPA packages compressed? Ulrich Mueller
2015-05-04 16:56 ` Ivan Shmakov [this message]
2015-05-04 19:11   ` Stefan Monnier
2015-05-04 19:30   ` Ted Zlatanov
2015-05-05 13:12 ` Tom Tromey
2015-05-05 13:31   ` Ulrich Mueller
2015-05-05 14:24     ` Ted Zlatanov
2015-05-05 15:13     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y4l4l1rh.fsf@violet.siamics.net \
    --to=ivan@siamics.net \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).