persistent cache while using inventory_plugin with python

Hi all,
Can anyone point me to good resource detailing how to make use of jsonfile cache plugin in order to make it work with my custom inventory plugin (written in python) ?
HELP !

Hi Steve,

You can take a look at this link. Also, simplest example of this implemented in virtualbox inventory plugin.

Thx Ab,
let me give it a try