Cache prev/next headers.