Expand my Community achievements bar.

SOLVED

AEM Dispatcher Cache Issue

Avatar

Level 4

Hi,

I am using AEM Dispatcher with 6.2 SP1.

There is page(catalog.html) in which carousel component is rendered. I do not want it to cache in dispatcher.

is there any way to not to cache carousel component.

In Common_cache.any file.

I have written these entries:-

/0021{ /type "allow" /glob "/content/connect/c1/en/events/catalog.html"}

/0022 {/type "deny" /glob "/content/connect/c1/en/events/catalog/*/banner_par/carousel*"

But it is not working. any other solution?

Any Suggestion?

1 Accepted Solution

Avatar

Correct answer by
Level 4

Hi,

what you might use here is Sling Dynamic Include : GitHub - apache/sling-org-apache-sling-dynamic-include: Apache Sling Dynamic Include

find more details on how to setup SDI in AEM here: Adobe Experience Manager Help | Set up Sling Dynamic Include in AEM

Hope this helps!

View solution in original post

2 Replies

Avatar

Correct answer by
Level 4

Hi,

what you might use here is Sling Dynamic Include : GitHub - apache/sling-org-apache-sling-dynamic-include: Apache Sling Dynamic Include

find more details on how to setup SDI in AEM here: Adobe Experience Manager Help | Set up Sling Dynamic Include in AEM

Hope this helps!