allow cache to be disabled