Only set data-path once for each file in diff pages
#17657
Merged
data-path once for each file in diff pages
#17657