How does caching work?

I need to cache a few functions that query a database. I was going to use memoise but it occurred to me that it wouldn’t work across the different containers that ShinyProxy opens up to serve a request. How does caching work on ShinyProxy ?
Thanks !

I’m afraid there’s no native caching function in the shinyproxy. The easy way is to cache the data to the local disk using Docker’s volume.