Build a cache for the category call