Switching from deleting caches to version checking the cache