set default cache flag to true.