I’m using Dash to provide UI components and a RESTful API to expose endpoints. A client can send SET requests to set data. I thought about storing the data according to the “share data between callbacks” docs section via one of the mentioned option (in the Browser with a Hidden Div, via Flask-Cache for storing “global variables" with one of the available options). The UI components could use periodic “live updating” to display potentially updated data.
Could I use the Hidden Div approach with multiple inputs? The live update interval as one input and the hidden div as the other one? How could I set the Hidden Div value in the RESTful API endpoint code?
In case I’d use the Flask-Cache approach: Which
CACHE_TYPE should I use? Are there other possibilities as well?