Hi Prashant, We are also facing same issue, we are getting all child
pages content in en.model.json.This is causing slowness of the website.
Do you got any solution for this? Thanks,Nasrin
Yes, I gave custom implemetation to the HierarchyPageImpl class and
removed "/content/project-name/en" from getExportedPath() method if it
is in publish mode. (fetch runmode
slingSettingsService.getRunModes()).Also removed removed
"/content/project-name/en" from all the routing links if it is in
publish mode.
So to summarize, I need to implement HierarchyNodeExporter and in sling
model need to override getExportedPath(). In this method i have to
replace "/content/projectname/en/home" to "/home". Correct me if I am
going wrong.