How to dump a compressed object for given key from Memcache?
问题 I'm using the following command to dump the compressed object for given key from memcached : cat <(printf "\x1f\x8b\x08\x00\x00\x00\x00\x00") <(memccat CACHE-KEY) | gunzip It prints the value (a JSON), but with the warning at the end: gzip: stdin: unexpected end of file I believe it may be missing last 4 bytes of checksum (ADLER32), but I'm not sure. What would be the proper way of dumping a compressed key value in a plain text format from Memcached caching service? 回答1: It looks like the