Why dash run so slow?

I have a dashboard with 4 page and total line of codes are about 2000(There is some data preprocess and ml algorithms and libs). I realise that after I run the app.py and script came to me like this:

  • Serving Flask app “app” (lazy loading)
  • Environment: production
    WARNING: This is a development server. Do not use it in a production deployment.
    Use a production WSGI server instead.
  • Debug mode: on

running URL is not usable about 30sec. After 30sec i can use the URL. Why am I waiting this much? Is this normal? (2 month ago I had no problem like this)

Is your Debug Mode set True on purpose? If not then try running the app by setting Debug Mode to False (note: it’s set to False by default)