Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

How to make a table updated value every ten minutes?

I make a page load the data from the pandas dataframe, I want the value in it keep updated every minutes.
How to make that.

I read the code that the value of the dataframe already set in the app.layout. Which means that the value has set at the startup.

So how to change it dynamic?

Check out the chapter on live updates: You can set app.layout to be a function so that it is updated on every page load.

Then, check out the chapter on performance: You can set a time expiring cache to refresh your data store every 10 minutes.

I am wondering if the app will still refresh by itself after being deployed to Heroku with free dynos since it goes to sleep after 30 minutes of inactivity.