The configuration should not allow the cache to break. Additionally, invalidating the cache is cheap and as such there is no gain to avoid invalidating it.