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 ?

2 comments
Comment actions Permalink

Hello,

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:
https://devnet.jetbrains.com/community/idea/open_api_and_plugin_development.

--
Nikolay Chashnikov
JetBrains
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

Thanks for the information.

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

0

Please sign in to leave a comment.