IntelliJ IDEA
 
Get IntelliJ IDEA

Invalidate caches

Last modified: 11 October 2024

IntelliJ IDEA caches a great number of files for all projects that you have ever worked with in this IDE version, therefore, the system cache may become overloaded. Sometimes the caches will never be needed again, for example, if you work with frequent short-term projects.

When you invalidate the cache, IntelliJ IDEA removes the cache files for all projects ever run in the current version of the IDE. The files will be recreated the next time you open these projects. The IDE also rebuilds the projects if they are built with the native IntelliJ IDEA builder.

For more information about storage of various user-specific files, refer to Directories used by the IDE.