memcached_gzip_flag
Maxim Dounin
mdounin at mdounin.ru
Mon Dec 10 16:33:31 UTC 2012
Hello!
On Mon, Dec 10, 2012 at 11:16:54AM -0500, tkellen wrote:
> PS: I'm writing the data using Dalli (https://github.com/mperham/dalli) with
> compression on and raw set to true. Dalli sets the bitmask for compression
> to 0x2 (all of this appears to be working correctly).
As far as I can tell from [1], it stores zlib stream, not gzip
(which is a different format on top of the same compression
algorithm, see zlib.h for details). It likely can be easily
adapted to use gzip though.
[1] https://github.com/mperham/dalli/blob/master/lib/dalli/compressor.rb
--
Maxim Dounin
http://nginx.com/support.html
More information about the nginx
mailing list