before memcache