Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.
SOLVED

Multidomain and dispatcher invalidation issue

Avatar

Level 4

This is the issue.

I have followed the guide in the official documentation. Additionally, I created a virtual host for invalidation_only though that was not explicitly in the docs, but I found that as a recommendation in this forum.

What is happening is:

I have /content/sitea and /content/siteb.

I send the invalidation request for /content/siteb but in the dispatcher logs what I see is:

Touched /var/www/html/content/sitea/.stat

If I request /content/siteb/test.html, I get the test.html correctly and the file is created, but because of the incorrect .stat file being created in /content/sitea/ I have to delete the file again in order to clear the invalidated file.

What could be the reason for this behavior?

Flush agent is on the publish agents, and the request to http://<server>:80/invalidation_only/dispatcher/invalidate.cache returns 200.

1 Accepted Solution

Avatar

Correct answer by
Level 4

Thank you! Apache rules did the trick.

View solution in original post

2 Replies

Avatar

Level 1

Refereed the following URL and helped to implement the same - Dispatcher Cache Invalidation for Multi Site Configuration - Adobe CQ5(AEM) .Please check if this will help you.

Avatar

Correct answer by
Level 4

Thank you! Apache rules did the trick.