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

ACS commons Dispatcher Flush Delete Action not working

  • July 11, 2017
  • 14 replies
  • 6770 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

smacdonald2008
Level 10
July 11, 2017

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

Level 2
July 13, 2017

Hello @smacdonald2008. Any information on this issue?

smacdonald2008
Level 10
July 13, 2017

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

edubey
Level 10
July 13, 2017

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

Thanks

Level 2
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 ?

joerghoh
Adobe Employee
Adobe Employee
July 13, 2017

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

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

Level 2
July 14, 2017
Content backfill required
Adobe Employee
July 17, 2017

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

Level 2
July 17, 2017

/invalidate

        {

        /0000

          {

          /glob "*"

          /type "deny"

          }

        }

   /statfileslevel "1"