On Fri, Jan 14, 2011 at 12:08 PM, Marc Espie <es...@nerim.net> wrote: > On Sun, Jan 09, 2011 at 04:21:51PM -0500, Ted Unangst wrote: >> Downloading things can go a lot faster if the server and client support >> http compression. This is easily added to the ftp program's http support. >> >> It consists of two parts. Support for deflating the data we receive and >> support for the chunked transfer the server will use to send data to us. >> The chunked supported is probably useful in its own right as well. > > How does it work if you use http to transfer already compressed files ? > Does it need special intelligence to avoid compressing things again ? > > Remember that a lot of people do pkg_add over http. We definitely do NOT > want to recompress packages that are already .tgz...
That is totally up to the server. Most are configured to only compress known file types, like html, text, css, ...