clear cache from database