event caching