Expand my Community achievements bar.

SOLVED

how to set up cache invalidation on webserver for multiple domain

Avatar

Level 2

Hi,

 

I have multiple domain setup on dispatcher each domain is configured in separate vhost file and farm files. When i publish page on author, cache invalidating is not happening. may i know how to set up cache invalidation for multiple domains?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @pragathiks 
Seems pdf files are corrupted I am not able to open those

But can you share below details for a farm where flush is not working -

1. statfile config - https://experienceleague.adobe.com/en/docs/experience-manager-dispatcher/using/configuring/dispatche...

2. cache docroot - https://experienceleague.adobe.com/en/docs/experience-manager-dispatcher/using/configuring/dispatche... 

3. flush agent config (HTTP headers : Host)

 

 


please check below for dispatcher flush config

https://experienceleague.adobe.com/en/docs/experience-manager-learn/ams/dispatcher/disp-flushing 

 



Arun Patidar

View solution in original post

5 Replies

Avatar

Community Advisor

Hi @pragathiks 
You need to check what cache directory are you suing to cache page? Same should be used in the flush agents.

Can you share vhost and flush agent configurations?



Arun Patidar

Avatar

Level 2

please find attached files.when page published on author cache invalidation is not happening.Also stat file is not getting created.

in loges i can see  "GET /dispatcher/invalidate.cache" purge 200" 

Avatar

Correct answer by
Community Advisor

Hi @pragathiks 
Seems pdf files are corrupted I am not able to open those

But can you share below details for a farm where flush is not working -

1. statfile config - https://experienceleague.adobe.com/en/docs/experience-manager-dispatcher/using/configuring/dispatche...

2. cache docroot - https://experienceleague.adobe.com/en/docs/experience-manager-dispatcher/using/configuring/dispatche... 

3. flush agent config (HTTP headers : Host)

 

 


please check below for dispatcher flush config

https://experienceleague.adobe.com/en/docs/experience-manager-learn/ams/dispatcher/disp-flushing 

 



Arun Patidar

Avatar

Level 2

Hi,

 

Reshared file.

 

in flush.any farm, below configuration

statfilelevel 5

documentroot "var/www/html"

 

In site specific farm

statfilelevel 5

documentroot "var/www/html/sitea"