Expand my Community achievements bar.

Nomination window for the Adobe Community Advisor Program, Class of 2025, is now open!
SOLVED

Sling Dynamic Include

Avatar

Level 10

Hi all,

 

What is the purpose of Sling Dynamic Include?
I read that it helps caching at dispatcher.

In general dispatcher is meant for this purpose along with Load balancing,

What other benefits does it have?

 

Could you share a couple of use cases where Sling Dynamic Include helps and what would it be without it.

 

Appreciate all your replies.

 

Thanks,

RK.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@AEM_Forum 

With SDI, we can define some components on the page to not be cached

For example, if we have dynamic data on page such as stock price related data or scorecard of cricket match which changes every second , we can use SDI to not cache that component.

Please refer link below

https://medium.com/tech-learnings/sling-dynamic-include-deep-dive-dynamically-include-page-component...

 


Amanath Ullah

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

@AEM_Forum 

With SDI, we can define some components on the page to not be cached

For example, if we have dynamic data on page such as stock price related data or scorecard of cricket match which changes every second , we can use SDI to not cache that component.

Please refer link below

https://medium.com/tech-learnings/sling-dynamic-include-deep-dive-dynamically-include-page-component...

 


Amanath Ullah

Avatar

Community Advisor

@AEM_Forum Below blog will help to get complete end to end insight on Sling Dynamic Include

https://medium.com/@toimrank/aem-sling-dynamic-include-9c5eb233c33c