Caching to speed up facets accumulation.