Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

Update direct changes at Publisher to Dispatcher cache

Avatar

Level 2

Normally, AEM supports to activate changed content from author to publisher and flush it to dispatcher cache and invalidate the out of date cache files. But I only have publisher instance setup for my PC and want to directly update some component HTML, node properties or java code to dispatcher cache. However I tried to configure Publisher Dispatcher flush (http://mylocal.proj.com:80/dispatcher/invalidate.cache, enabling flush) but failed to have the cache changed.

 Here is my dispatcher.any config

/virtualhosts
{
   "mylocal.proj.com"
}

...

/cache {

 /statfileslevel "0"

}

//logs written

[Thu Jan 02 17:36:21 2020] [D] [pid 31329] Found farm website for mylocal.proj.com
[Thu Jan 02 17:36:21 2020] [D] [pid 31329] checking [/content/projsite/en/home/search.html]
[Thu Jan 02 17:36:21 2020] [D] [pid 31329] never flushed [/Library/WebServer/docroot/publish/.stat] -> use cache [/Library/WebServer/docroot/publish/content/projsite/en/home/search.html]
[Thu Jan 02 17:36:21 2020] [D] [pid 31329] cache-action for [/content/projsite/en/home/search.html]: DELIVER
[Thu Jan 02 17:36:21 2020] [D] [pid 31329] request declined
[Thu Jan 02 17:36:21 2020] [I] [pid 31329] "GET /content/projsite/en/home/search.html" - - 0ms [website/-]
[Thu Jan 02 17:36:21 2020] [D] [pid 31329] Found farm website for mylocal.proj.com

 

0 Replies