emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compressing ELPA


From: Stefan Monnier
Subject: Re: Compressing ELPA
Date: Wed, 03 Aug 2016 12:29:41 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

>> 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-decompress-a-file-but-only-if-needed).

> Couldn't you do it the other way around? That is, could the files be stored
> uncompressed on the server, and could the compression be taken care of by
> the server itself, when requests arrive?

It would be the next best thing (storing the files uncompressed is
silly), yes.

> (Isn't that the standard way to do things?)

For tarballs, I highly doubt it.  It's often faster to pack and unpack
a compressed tarball than an uncompressed one (because (de)compression
is faster than disk access), so there's really no advantage to ever
manipulate an uncompressed tarball, in the usual case.

In any case, any help configugin the webserver to get something like
that would be welcome.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]