Ok, from Search we could read the current CacheMode, set it to a different one if needed, and finally restore the original one.