Accelerate static assets using CDN
mainTo avoid consuming server bandwidth and to accelerate access for small to medium-sized sites, you can force the browser to load dependencies from the unpkg CDN. This is achieved by setting serve_locally=False in the dash.Dash constructor.
Note: This behavior applies when the application is not running in debug mode.
# In non-debug mode, this forces dependencies to load from unpkg CDN
app = dash.Dash(serve_locally=False)