Add option to flush cache on case groups