Hey @AnnMarieW
To double back on this, are there plans to integrate a solution to accessing the cache in callbacks outside the app.py
file?
For example, I have multipage app that uses a structure similar to the “Caching and Signaling” example in the docs. Once the expensive query is complete, callbacks on every page will be utilizing this same data source and need to access the global cache.
Since the cache is tied to the app object, I haven’t been able to make this work on a multipage setup without just putting all my callbacks inside the app.py
file. This quickly becomes hard to navigate with a larger multipage app.
I’m happy to put together a simple example if that wasn’t clear, thanks!