Expand my Community achievements bar.

AEM SPA editor

Avatar

Level 4

I am using AEM 6.5.

Existing behavior:

I see that, en.model.json call is being mage on load which fetches all child pages and it's contents and subsequent navigation does not make model.json calls as everything is fetched in one shot.

What I want to achieve?

I want to fetch only the content of the current page and not the whole hierarchy. Is there any way to customize/configure this behavior. I want to have lazy load mechanism and fetch only the current page. And when page navigation links are clicked, I want to fire another model.json call and load the data and render the new content.

Please help.

1 Reply

Avatar

Level 3

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