set cache dir to to pipe base