Persist Cache values for a project/module

Is there a way to persist cached values for a project. I need to reload these values when intellij starts again.
CachedValuesManager seems the way to go but i have not been able to find any documentation around it. Any suggested way / examples on how to do this with or without using CachedValuesManager ?

Comment actions Permalink


you can implement your own cache stored in files under PathManager.getSystemPath() directory, the platform doesn't provide support for persisting
generic caches.

It would be better to ask questions related to plugin development in the plugin development forum:

Nikolay Chashnikov
"Develop with pleasure!"

Comment actions Permalink

Thanks for the information.

Sorry for the confusion. Will post in the right forum next time.


Please sign in to leave a comment.