Expand my Community achievements bar.

CQ-Action-Scope: ResourceOnly Header to invalidate only the modified file

Avatar

Level 3

Hi,

I have added the CQ-Action-Scope: ResourceOnly Header to the Dispatcher flush agent to invalidate particular resource. 

Still all the stat files from root folder are getting touched if I publish any page and the other pages also invalidated as the .stat file is modified.

 

Please find below dispatcher logs.

 

\[Tue May 07 09:54:09 2024] [W] [pid 3682189:tid 139985975879424] No farm matches host 'flush', selected last farm 'publishfarm'
[Tue May 07 09:54:09 2024] [I] [pid 3682189:tid 139985975879424] Activation detected: action=Activate [/content/project/techdocs/us/en/testrhcategory/testrhproduct/testrhpage]
[Tue May 07 09:54:09 2024] [I] [pid 3682189:tid 139985975879424] Touched /mnt/var/www/html/.stat
[Tue May 07 09:54:09 2024] [I] [pid 3682189:tid 139985975879424] Touched /mnt/var/www/html/content/.stat
[Tue May 07 09:54:09 2024] [I] [pid 3682189:tid 139985975879424] Touched /mnt/var/www/html/content/project/.stat
[Tue May 07 09:54:09 2024] [I] [pid 3682189:tid 139985975879424] Touched /mnt/var/www/html/content/project/techdocs/.stat
[Tue May 07 09:54:09 2024] [I] [pid 3682189:tid 139985975879424] Touched /mnt/var/www/html/content/project/techdocs/us/.stat
[Tue May 07 09:54:09 2024] [I] [pid 3682189:tid 139985975879424] Touched /mnt/var/www/html/content/project/techdocs/us/en/.stat
[Tue May 07 09:54:09 2024] [I] [pid 3682189:tid 139985975879424] Touched /mnt/var/www/html/content/project/techdocs/us/en/testrhcategory/.stat
[Tue May 07 09:54:09 2024] [I] [pid 3682189:tid 139985975879424] Touched /mnt/var/www/html/content/project/techdocs/us/en/testrhcategory/testrhproduct/.stat
[Tue May 07 09:54:09 2024] [I] [pid 3682189:tid 139985975879424] Evicted /mnt/var/www/html/content/project/techdocs/us/en/testrhcategory/testrhproduct/testrhpage.html.h
[Tue May 07 09:54:09 2024] [I] [pid 3682189:tid 139985975879424] Evicted /mnt/var/www/html/content/project/techdocs/us/en/testrhcategory/testrhproduct/testrhpage.html
[Tue May 07 09:54:09 2024] [I] [pid 3682189:tid 139985975879424] "GET /dispatcher/invalidate.cache" 200 purge [publishfarm/-] 1ms
[Tue May 07 09:54:37 2024] [I] [pid 3695761:tid 139985357350656] "GET /etc/replication/agents.author/qa-dispatcher-flush-1/jcr:content.infinity.json?_dc=1715075706635" 200 none [authorfarm/0] 215ms

 

Beaula123_0-1715076795337.png

 

Please suggest if I miss anything here.

1 Reply

Avatar

Level 3

Hi,

Can someone please suggest on this?

Thanks