fixed issue: shouldn't compute cache key when not caching