Fixed cache invalidation during deployment.