Understanding Versioned Clientlibs and Dispatcher Cache Behavior
We’re using versioned clientlibs in our project, and I’m wondering if something might be misconfigured—or if I’m misunderstanding how they’re intended to work.
The issue:
Whenever clientlib assets (CSS/JS) are updated and replicated, I go into the dispatcher and remove the old versioned clientlibs. However, this breaks all styles and scripts on the live site unless I also clear all cached content pages.
At first, I didn’t fully grasp what was happening, but it became clear that cached pages are still referencing the old versioned clientlibs. So when I remove those assets from the dispatcher, the cached pages are now pointing to files that no longer exist. Meanwhile, the new versioned clientlibs are present, but no pages in the cache are referencing them until the pages are recached from the publish instance.
This creates a challenge: clearing all cached content pages every time we update clientlibs feels inefficient.
So my question is, am I misunderstanding how versioned clientlibs are meant to function with the dispatcher cache, or is this just an inherent limitation of using versioned clientlibs in AEM?

