only use cache if set
turn off cache for irl tests