When you modify HTL/JSP/JS/CSS files for your custom component, AEM might not immediately reflect the modifications to the pages with the component. In this case, the internal cache may be a cause.
This article explains how to clear the cache of these files.
You can clear the cache by the following functions.
* Client Libraries: JS/CSS files
Rebuild Client Libraries > Invalidate Caches or Rebuild Libraries
* File System Class Loader: JSP, HTL
Web Console > Sling > File System Class Loader > Clear Class Loader
* Script Cache: HTL, JS file
Web Console > Sling > Script Cache Status > Clear Cache
It is recommended to perform clearing the cache at a quiet time to avoid performance degradation.
You may need to check the dispatcher cache and browser cache, also.