Caching the information of a model


I am trying to cache the information - path of a file from the plugin_action of a model to the mps cache directory.

I am not familiar with caching stuffs. Can anyone please help me know how to do this? 

1 comment

If you want to implement caches similar to those used by "usages search", please consider the following doc:

MPS doesn't have its own mechanism for building indices. Instead, a mechanism from Idea platform is used. To implement your own indexer, you should write a plugin to the platform as described in the doc above. 


Please sign in to leave a comment.