add memcache support