before setup memcache