Don't try saving to cache if cache is disabled