Acs commons versioned clientlibs- support for clearing the dispatcher cache as well.. | Community
Skip to main content
pavanb46130733
Level 2
August 14, 2018
Solved

Acs commons versioned clientlibs- support for clearing the dispatcher cache as well..

  • August 14, 2018
  • 1 reply
  • 1123 views

Hi All,

We are using acs commons versioned client libs, which is working correctly as expected.

Whenever there is a change in the client libs it will creare a new version of the client libs, but the problem is the pages which are already cached in the dispatcher before a new version of th clientlib still refer the previous version.

Is there any way to automate clearing the dispatcher cache whenever a new version of the clientlib is created.

Regards,

Pavan Bukka

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

I don't think that there is an ootb way to do that. You could use a custom invalidation script, reimplement the standard invalidation (can be as easy as [2]) and hook your custom logic into it.

Changing clientlibs should be a controlled process (typically with a deployment), so you also just drop the complete dispatcher cache on deployments.

Jörg

[1] Configuring Dispatcher ,  Section "Using custom invalidation script"

[2] Custom dispatcher invalidation rules | Things on a content management system

1 reply

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
August 14, 2018

I don't think that there is an ootb way to do that. You could use a custom invalidation script, reimplement the standard invalidation (can be as easy as [2]) and hook your custom logic into it.

Changing clientlibs should be a controlled process (typically with a deployment), so you also just drop the complete dispatcher cache on deployments.

Jörg

[1] Configuring Dispatcher ,  Section "Using custom invalidation script"

[2] Custom dispatcher invalidation rules | Things on a content management system