ACS commons Dispatcher Flush Delete Action not working | Community
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
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

joerghoh
Employee
Jul 17, 2017 8:34 PM UTC

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

Jörg

Translate
Level 2
Jul 17, 2017 7:39 PM UTC

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

Translate
Level 2
Jul 17, 2017 6:03 PM UTC

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

Translate
davidjgonzalezzzzAccepted solution
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.

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

/invalidate

        {

        /0000

          {

          /glob "*"

          /type "deny"

          }

        }

   /statfileslevel "1"

Translate
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 14, 2017 9:20 PM UTC
Content backfill required
Translate
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
joerghoh
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
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