make cache fail status configurable