I wanted to see if anyone experienced similar issues going from a local instance of an app to deployed. Right now I am working on a dash app (repo here) and when I am working on it locally the graphs all generate in less than 3 seconds vs. 15 seconds when we look at our deployed instance. From further exploration we know that the slow down is not from getting the data into ddc.store, but the graph generation itself. Has anyone else experienced slow down with ploty graph loading? Any suggestions on things I should look into?
I’d recommend to start by profiling the code to find the exact lines of code that are slower. Here’s a great guide on profiling: Performance Profiling Dash apps with Werkzeug