Cache result of renderTree method of category model