Add query to clear cache