Caching the main grid template that's a bottleneck