moved memcache to config