Configure a cache from common options