Custom Snaps

Hi

What is the best way to achieve caching while developing custom snaps.

Also, this mechanism should work in multinode environments.(An org having multiple node)

Will Google guava Caching lib serve the purpose?

image

Will this approach serve the Purpose? in multi-node environment?

Best Regards
Ayush