convert to use memcache as cache module.