Expand my Community achievements bar.

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
Level 7

@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...

 

View solution in original post

2 Replies

Avatar

Correct answer by
Level 7

@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...