How to force a recompilation of all Sling scripts jsps, java, and sightly

This video walks through the steps to force a recompilation of all Sling scripts jsps, java, and sightly.

Transcript
Hello everyone, today we will be discussing how to force a recompilation of JSPs, Java, Sightly, and Client libs in AEM, that is basically how to clear the frontend or backend code cache. Sometimes the JSP changes will not be automatically applied in Adobe Experience Manager and the data would be picked from cache. Strange UI issues can occur and compilation errors may be seen in the logs. To clear the cache for Java and JSP, you need to navigate to AEM web console, click on Sling tab and navigate to File System Class Loader. From here, you can click clear cache loader to clear the cache for Java and JSP. Next, in case we need to clear the cache of HDL we can go to script cache and system console. If you wish to clear cache for a specific HDL script, click on remove button beside that particular HTML, or you can click on clear cache to delete the cache for all of them at once. We can also clear cache for client libs by navigating to the path shown on screen. You can click on invalidate cache to delete the cache for client libs. If you wish to clear the cache and rebuild them, you can click on rebuild libraries. In this way we can successfully force a recompilation of JSPs, Java, Sightly, and client Libs of AEM. Thank you. -
recommendation-more-help
c92bdb17-1e49-4e76-bcdd-89e4f85f45e6