modify clear cache timing