deactivates caches