keep using cache in debug mode