[TS-2489] Fix esi plugin problem with contents in comments output twice when the node list is cached