Added short-circuit code for memcache ops.