Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

AEM SPA editor

prashantonkar
Level 4
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.

0 Replies
nasrinj31078225
Level 2
Level 2

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