add cache setting