Optimization: Cache matching events