As we are rendering all the headers at the beginning, can we cache those headers into the renderGroupHeader method?