make cache-class configurable