Wednesday, April 11, 2018

How to recompile clientlibs and invalidate cache?

The clientlibs in AEM consists of JS and CSS and in some instances they get cached; which as would be obvious; causes issues.
To remove this cache and rebuild the clientlibs, following link is quite useful:

<domain-name>/libs/granite/ui/content/dumplibs.rebuild.html

There are individual buttons to invalidate cache and rebuild the libraries on this page.
For faster access, there is a query parameter for each process that can be appended to the URL:

Invalidate Caches: ?invalidate=true
Rebuild Libraries: ?rebuild=true



Please note for AEM 6.1, certain issues have been reported and solution provided. You can check the following link if you face an issue:

https://forums.adobe.com/thread/2327420

No comments:

Post a Comment

How to recompile clientlibs and invalidate cache?

The clientlibs in AEM consists of JS and CSS and in some instances they get cached; which as would be obvious; causes issues. To remove th...