move caches to env