AEM SPA editor

Avatar

Avatar

prashantonkar

Avatar

prashantonkar

prashantonkar

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.