Cache ivy2 directory.