set cache dir