Skip to main content
Level 2
Jul 11, 2017 5:21 PM UTC
Solved

ACS commons Dispatcher Flush Delete Action not working

Hi,

I have a page created with dispatcher flush template and an agent configured to clear the cache on my publish server. The flush action is set to Invalidate and it replicates successfully as per the logs but the replication paths or flush paths are not invalidated or touched. I tried setting the action to delete, but that errors out as below.

An error occurred during replication. Possible issues include invalid flush paths or lack of active dispatcher flush agents. Please review your Dispatcher Flush Agent logs to ensure all replication requests were successfully processed.

http://host:port/dispatcher/invalidate.cache is the URL I'm using for invalidating. Is there a different URL for delete Cache?

ACS Commons -3.5.2

Thanks

Sanjay

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
davidjgonzalezzzzAccepted solution
Adobe Employee
Jul 17, 2017 5:52 PM UTC

Check out .. https://docs.adobe.com/docs/en/dispatcher/disp-config.html#Automatically Invalidating Cached Files  -- This should solve your problem. With your deny all, you're effectively doing resource-only flushing for everything.

14 replies

smacdonald2008
Level 10
Jul 11, 2017 5:49 PM UTC

I am checking with the team to see if anyone is aware of this issue.

Translate
Level 2
Jul 13, 2017 4:37 PM UTC

Hello @smacdonald2008. Any information on this issue?

Translate
smacdonald2008
Level 10
Jul 13, 2017 4:40 PM UTC

I ahve not heard back from the team on this one. I will resend to see if we can get a response.

Translate
edubey
Level 10
Jul 13, 2017 4:49 PM UTC

What do you see in the replication logs when action is set to delete?

Thanks

Translate
Level 2
Jul 13, 2017 6:49 PM UTC

Now I have found that invalidate is actually working but clears cached page of only the path specified. How to provide path so that it will clear the pages under the whole directory.

Example: /content/home clears only /content/home.html

But I want to clear all the pages under home. Is there a way I can configure the dispatcher flush configuration ?

Translate
joerghoh
Adobe Employee
Adobe Employee
Jul 13, 2017 7:11 PM UTC

Don't forget that the dispatcher typically invalidates files. Only the changed file is removed from the cache directory.

Translate
Adobe Employee
Jul 14, 2017 2:48 PM UTC

sanjays16398239​

It would be helpful if you could provide your log for the invoked flush agent and the dispatcher log (on debug) that shows how dispatcher is processing the flush and finally, the dispatcher log for when you request a page that you now expect to be invalidated.

Translate
Level 2
Jul 14, 2017 9:20 PM UTC
Content backfill required
Translate
Adobe Employee
Jul 17, 2017 1:21 AM UTC

What's the stat level and and invalidate config I your dispatcher.any?

Translate
Level 2
Jul 17, 2017 4:24 PM UTC

/invalidate

        {

        /0000

          {

          /glob "*"

          /type "deny"

          }

        }

   /statfileslevel "1"

Translate