Accept-encoding: gzip

Mike Cardwell tor at lists.grepular.com
Fri Apr 27 10:41:18 UTC 2007


* on the Thu, Apr 26, 2007 at 02:06:57PM -0400, Roger Dingledine wrote:

>> As a directory mirror, current requests for the mirror data cause about
>> 2.7MB of data transfer. If the data could be delivered compressed with
>> gzip that could significantly reduce the transfered data... 
> Agreed. That's why we do it already. :)
> 
> Search dir-spec.txt for ".z".
> 
> (We use zlib, not gzip, for portability reasons. But it's close enough.)
> 
> Also, almost nobody fetches the v1 directory anymore (the big one you
> describe above). Most people (I hope) are using the v2 directory design
> at this point, which was introduced in Tor 0.1.1.x.

Hmmm, my mistake. Thanks for the info. I tested this by simply doing a
wget on the ip:port combo where my directory is. And then manually
sending an Accept-Encoding header to see if it sent stuff compressed.
I think I'm finally starting to get my head around the way it works
now! :)

Mike



More information about the tor-talk mailing list