tollmanz / wordpress-pecl-memcached-object-cache

A WordPress object cache that uses the memcached (not memcache) PECL extension.
233 stars 114 forks source link

Add support for the binary protocol #41

Open tollmanz opened 10 years ago

tollmanz commented 10 years ago

There are possibly performance benefits with the binary protocol. Currently, setting this option causes the CAS functions to fail. The option should be set via the config rearrangement in #40.

tollmanz commented 10 years ago

It looks like unit testing are failing largely due to the test for success at the end of the CAS method. Apparently, [testing for success is different]() with the binary protocol. We need to test against Memcached::RES_END. This should be easy to change once the config is implemented.