add temp file cleaning on 'clear cache' action