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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

ACS AEM Commons - Dispatcher Flush Rules is not working

Avatar

Level 2

Hi all,

Requirement:
Whenever content fragments are published/replicated, then the particular static page needs to be updated with the updated content fragment automatically in the dispatcher. I have set the rules in the ACS AEM Commons - Dispatcher Flush Rules:

Abirami_SD_0-1646059082256.png

But this is not working. The dispatcher page was still cached and showing the old content.

Can anyone please help me on this?

 

 

@kautuk_sahni@Theo_Pendle @Arun_Patidar @Himanshu_Singhal  @vanegi @Vijayalakshmi_S @Andrei_Dantsou @Kiran_Vedantam 

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi @Abirami_SD ,
As per the documentation, you should not use "/*" at the end of the target path. Something like below: 

prop.rules.hierarchical=[
	"/content/dam/.*\.(png|jpg)=/content/mysite"
]

This would clear all under /content/mysite.

In your configuration, you have used  

prop.rules.hierarchical=[ "/content/dam/.*\.(png|jpg)=/content/mysite/*" ]  an extra /* at the end of the target path.

Remove it and test. It might fix the problem. Reference Link: https://adobe-consulting-services.github.io/acs-aem-commons/features/dispatcher-flush-rules/index.ht...

 

View solution in original post

2 Replies

Avatar

Community Advisor

Hi,

Can you try with DELETE replication action type?

Avatar

Correct answer by
Level 10

Hi @Abirami_SD ,
As per the documentation, you should not use "/*" at the end of the target path. Something like below: 

prop.rules.hierarchical=[
	"/content/dam/.*\.(png|jpg)=/content/mysite"
]

This would clear all under /content/mysite.

In your configuration, you have used  

prop.rules.hierarchical=[ "/content/dam/.*\.(png|jpg)=/content/mysite/*" ]  an extra /* at the end of the target path.

Remove it and test. It might fix the problem. Reference Link: https://adobe-consulting-services.github.io/acs-aem-commons/features/dispatcher-flush-rules/index.ht...