make memcache-usage configurable