switch on the cache with correct settings