Determinism, Cache, and Cache Invalidation