Cache past events to improve performance.