January 4, 2021
Estimated Post Reading Time ~

How to recompile clientlibs and invalidate cache?

The clientlibs in AEM consist 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, the following link is quite useful:

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

There are individual buttons to invalidate the 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




By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.