cache category stuff properly