You can do both. If you want to save the data for some time before querying the again, you would need to do some kind of caching, either client side using Dash components (e.g Store) or server side. For the latter, you could try out a decorator I recently wrote,
Emil
5
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Refresh dataframe on page load | 10 | 7335 | September 16, 2021 | |
| Updates on page load and loading newest data? | 5 | 9858 | January 2, 2019 | |
| How to structure an app that updates on a page refresh | 2 | 2046 | August 26, 2018 | |
| Correctly updating data and pages | 2 | 296 | July 26, 2023 | |
| Refreshing dataframe source on page load | 0 | 289 | February 19, 2020 |