Like this?
class DashLimitCache(dash.Dash):
def serve_layout(self):
response = super().serve_layout()
response.cache_control.max_age = 0
response.cache_control.public = True
return response
# App
app = DashLimitCache(__name__)
app.css.config.serve_locally = True
app.scripts.config.serve_locally = True
app.layout = get_layout
Also seems to work