refine cleaning cache