Plotly dash renders very slow when integrated with django

I have a plotly dash app with several drop-downs, radio buttons and check boxes. It works pretty well on 3 datasets in Jupyter Notebook.

But the problem is it gets tremendously slow when integrated with Django. I don’t have any clue why this is happening.

Can you share more details about how you are integrating the dash app with Django?

Followed this one -
https://django-plotly-dash.readthedocs.io/en/latest/simple_use.html

Basically it’s making a post request for every callback.

Dash makes this request for every callback, with or without django-plotly-dash.

Are you running a debug/test instance of Django - that would mask any other performance issue anyway. If not, then using one of the many profilers - approach this from a ‘how do I make my Django server run faster’ perspective - should give some insight into what is going on. And please do share anything you find!