Update direct changes at Publisher to Dispatcher cache | Community
Skip to main content
dangl95641558
Level 2
January 2, 2020

Update direct changes at Publisher to Dispatcher cache

  • January 2, 2020
  • 0 replies
  • 555 views

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

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.