ACS commons Dispatcher Flush Delete Action not working | Community
Skip to main content
New Participant
July 11, 2017
Solved

ACS commons Dispatcher Flush Delete Action not working

  • July 11, 2017
  • 14 replies
  • 6769 views

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.
Best answer by davidjgonzalezzzz

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

joerghoh
Employee
July 17, 2017

In that case you need to set the parameter "statfilelevel" correctly.

Jörg

New Participant
July 17, 2017

That worked for dispatcher flush agent but using { /glob "*.html" /type "allow" } caused the entire cache to be invalidated after activating a page in the directory

New Participant
July 17, 2017

Thank you that resolved it, after adding allow for *.html

davidjgonzalezzzzAccepted solution
Employee
July 17, 2017

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.

New Participant
July 17, 2017

/invalidate

        {

        /0000

          {

          /glob "*"

          /type "deny"

          }

        }

   /statfileslevel "1"

Employee
July 17, 2017

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

New Participant
July 14, 2017
Content backfill required
Employee
July 14, 2017

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.

joerghoh
Employee
July 13, 2017

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

New Participant
July 13, 2017

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 ?