Hi,
Dispatcher cache flush issues,
I am trying to clear cache of specific folder using HttpClient and PostMethod, if I specify full page path in cq-handle then page cache deleted, but if I give folder path cache is not getting deleted.
Stat file issue:
I am setting the statfileslevel to multiple values(0,2,3) in dispatcher.any file, but stat file not generated, is there any configuration i need to set to generate the stat file??
Thanks,
Swati
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
please increase the loglevel to DEBUG for the dispatcher module. It will log then in great detail, what it's doing. You might post the relevant parts of this log then.
kind regards,
Jörg
Views
Replies
Total Likes
Hi Swati,
Have you configure /statfile property under your /cache configuration to generate the required statfile ?
Refer [1] for the same
[1] https://docs.adobe.com/docs/en/dispatcher/disp-config.html#Naming the Statfile
Views
Replies
Total Likes
Yes lokesh, I referred the same doc,but nothing is getting generated.No clue where I am going wrong
/cache
{
# The docroot must be equal to the document root of the webserver. The
# dispatcher will store files relative to this directory and subsequent
# requests may be "declined" by the dispatcher, allowing the webserver
# to deliver them just like static files.
/docroot "D:/Apache2.2/htdocs"
#/statfile "D:/Apache2.2/htdocs/dispatcher-website.stat"
# Sets the level upto which files named ".stat" will be created in the
# document root of the webserver. When an activation request for some
# page is received, only files within the same subtree are affected
# by the invalidation.
/statfileslevel "2"
# Flag indicating whether to cache responses to requests that contain
# authorization information.
#/allowAuthorized "0"
/allowAuthorized "1"
# Flag indicating whether the dispatcher should serve stale content if
# no remote server is available.
#/serveStaleOnError "0"
Views
Replies
Total Likes
Hi,
please increase the loglevel to DEBUG for the dispatcher module. It will log then in great detail, what it's doing. You might post the relevant parts of this log then.
kind regards,
Jörg
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies