Black Lives Matter. Please consider donating to Black Girls Code today.

Resources loaded from browser cache

Hello all,

I am facing an issue where the Dash resources in my page, like plotly-1.41.0.min.js, bundle.js etc, are downloaded every time from the server by the browser while in the https://dash.plot.ly/ page they are loaded from the browser cache (except for the first time).

It increases considerably the loading of my page and I would like to know how I could have the same behavior of the https://dash.plot.ly/ page.

My page is the https://www.smartthingsai.com/ and you can see the behavior in the inspector window of the browser.

Thanks,
Rafael

Update your dash version to the latest, cache control for component suites was added in 0.26.6.

1 Like

Perfect. It worked! Thanks.