ACS AEM Commons - Dispatcher Flush Rules is not working | Community
Skip to main content
Level 2
February 28, 2022
Solved

ACS AEM Commons - Dispatcher Flush Rules is not working

  • February 28, 2022
  • 2 replies
  • 983 views

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:

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 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Anish-Sinha

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

 

2 replies

arunpatidar
Community Advisor
Community Advisor
February 28, 2022

Hi,

Can you try with DELETE replication action type?

Arun Patidar
Anish-Sinha
Adobe Employee
Anish-SinhaAdobe EmployeeAccepted solution
Adobe Employee
February 28, 2022

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