optimize the history page: periodically ask for the latest event only