Does Dash have a on-by-default auto-update?

A question about my dash app updating itself.

I have a running Dash app for a hobby project: https://ptr-claim-dash-app.onrender.com/
The code itself is on Github: GitHub - kaarelmand/ptr-claim: Scrape the Tamriel Rebuilt and Project Tamriel websites and visualize claim progress.

The app scrapes a website and then displays the scraped data on a map.

To my knowledge, I’ve added no code to explicitly rerun the scrape and redraw the map. Yet, whenever I check the app, I can see that it has updated itself in the past couple of hours (even if I haven’t made any updates to the linked repository in weeks). So, does Dash rerun the code on an interval by default? Is there a way to control this functionality?

(Not that I mind, I’d just like to know why and how this is working as I want it to :smiley:)

Hello @kaarelmand,

Welcome to the community!

No, this isn’t default behavior, but more than likely a product of being on render.

As your site gets called, it spins up the app. Assuming you put the scraping of the web data inside the app spinning up, you are thus scraping the website.

Thanks a lot, I’ll inquire at render then!

1 Like