Make cache parameters configurable