Don't calculate cache key if there is no cache