Closed GoogleCodeExporter closed 9 years ago
Generally speaking, you wouldn't use prepend with compression. I know it's a
little complicated to turn off compression or turn the threshold up, but the
basic idea would be to replace/extend the existing transcoder.
I have a small example of how to do this with the CouchbaseClient, which builds
on MemcachedClient. Have a look here and see if this will help you:
https://gist.github.com/ingenthr/5952891
The reason it works with smaller things is probably because you're below the
compression threshold. prepend/append are just not compatible with compression.
If you want/need compression, you may want to look into appending/prepending
with CAS.
Original comment by ingen...@gmail.com
on 19 Jul 2013 at 5:43
Original issue reported on code.google.com by
vandinhc...@gmail.com
on 19 Jul 2013 at 4:49