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
BedrockMission!

Learn More

View all

Sign in to view all badges

AEM SPA editor

Avatar

Avatar
Validate 1
Level 3
prashantonkar
Level 3

Likes

17 likes

Total Posts

51 posts

Correct Reply

7 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Validate 1
Level 3
prashantonkar
Level 3

Likes

17 likes

Total Posts

51 posts

Correct Reply

7 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back
View profile
prashantonkar
Level 3

21-10-2019

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.