The current application lets us update the properties of zip code area that’s clicked on the map.
Previously application was taking about 12 secs to reload the choropleth map on update event. So I used dcc state to store map data (about 3 MB in size) and a clientside callback to reduce this latency. Now map reload takes about 2 secs on localhost but takes about 20 secs when hosted on any server.
Also, I’m not sure why the reload component network call sends around 14 MB of data to the client each time on map reload when hosted on both localhost and server.