Ensuring caching works across multiple instances