Hi,
We are facing issue related to dispatcher cache. Sometimes, even after fresh build, files in htdocs are not updated and we need to run /dispatcher/invalidate.cache manually.
The problem is when we do a new code deployment, the javascript files if get changed are not getting cleared in dispatcher cache. Do we have versioning number so that the enduser browser cache or dispatcher cache gets updated if it finds a new one?
Or ss there a way to make sure UI libraries and other files in htdocs are updated after the new build is deployed.
Thanks in advance.
Solved! Go to Solution.
Views
Replies
Total Likes
It's probably easiest, if you schedule a purge via cron on your DEV environment. IIRC the replication agents are triggered only by changes of pages and assets, if you configure them to start "on modification".
Kind regards;
Jörg
Views
Replies
Total Likes
In invalidate section of dispatcher.any need to allow for library. It is recommended to clear a cache manually on code deploy if there are many changes since it is one time.
Views
Replies
Total Likes
Hi Sham,
We do have entries in invalidate section of dispatcher.any. However, on our test environment we do daily code deploy and we face this issue regularly. Is there any other way to force invalidation every time we do a code deploy.
Views
Replies
Total Likes
PJindal wrote...
Hi Sham,
We do have entries in invalidate section of dispatcher.any. However, on our test environment we do daily code deploy and we face this issue regularly. Is there any other way to force invalidation every time we do a code deploy.
use dispatcher pre-population feature by consisting of linefeed separated URLs that the dispatcher should automatically refetch OR
write an invalid script to delete using invalidateHandler. http://docs.adobe.com/docs/en/dispatcher/disp-config.html
Views
Replies
Total Likes
It's probably easiest, if you schedule a purge via cron on your DEV environment. IIRC the replication agents are triggered only by changes of pages and assets, if you configure them to start "on modification".
Kind regards;
Jörg
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies