Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Update direct changes at Publisher to Dispatcher cache

dangl95641558
Level 2
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