add OnSiteRefresh event to clear the cache