Clear dispatcher cache when resource only exist in AEM Dispatcher
We have a scenario where we have some dynamic page. These pages have been handled by AEM dispatcher( and getting cached in AEM dispatcher. These pages do not exist in AEM instance.
As a next step, we have to clear the cache for these pages using replication API. The page URL contains a selector in the URL, e.g. /content/abc/xyz/test.sample.html
We have written code for the same and we could see below error.
*WARN* [sling-default-2] com.adobe.cq.cloudconfig.core.impl.ConfigurationReplicationEventHandler Resource [/content/abc/xyz/test.sample.html] not found for ReplicationAction
Since the resource do not exist, we are getting this error.
How to clear cache for these pages using replication API when these page do not exist in AEM instance but do exist in the dispatcher?


