Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

AEM - Implementation of Versioning for Clientlibs and CSS


Level 1

Hello AEM Guru,


We have many versioning documents available but still have few queries.


I am new to AEM and have to implement  clientlibs versioning as with every deployment client libs are not getting updated in the normal browser even after flushing the dispatcher cache and CDN cache. Tried to implement as suggested by many.

Facing below few issues :

1. I am tried to implemnet this via crxde in local . if we want to do it via code how to do that . /apps/<project folder/config/rewriter/ - should a create an xml file and copy paste this code :

<?xml version="1.0" encoding="UTF-8"?>

<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"








This is required, as in our higher environment we don't have access to CRXDE console.  


#2 - In my local, i did the changes via  crxde and save all.  but still not seeing configuration in sling rewrite. even after restarting the instance.

Any help would be highly appreciated

1 Accepted Solution


Correct answer by
Community Advisor
3 Replies


Correct answer by
Community Advisor


Level 2
Good day, so I have also followed the steps in the above link, I can see the rewrite in the sling rewrite status, but when looking at the code of a webpage, the XF css and JS have the versioning but not any of the clientlib css or js, could anybody perhaps guide me in what could be wrong? Thank you


Community Advisor
which version of AEM are you using, there was an issue with AEM 6.5.7 with clientlibs

Arun Patidar