empowerplan / epp-app

EmPowerPlan - App
GNU Affero General Public License v3.0
0 stars 0 forks source link

Popups take long to show up #143

Open nesnoj opened 6 months ago

nesnoj commented 6 months ago
henhuy commented 6 months ago

We could try to increase gunicorn workers and/or threads. But this is more or less try and error - so server would be down/up several times while testing On my machine, popups are fast (500ms max)

nesnoj commented 6 months ago

Now that you fixed #139 the point layers take about 2s :+1: . The slowest ones are the FF-PV layers: When MVTs are completely loaded, they take 2s as well, otherwise up to 10s (especially if many layers are active at the same time).

BTW, when moving the map view, loading MVT takes quite long due to the large amount of data. As we don't use LODs I could try to reduce feature count and accuracy. Or we could add a spinner..

henhuy commented 6 months ago

Unfortunately, I don't see how to improve speed of popups easily, as:

Other ideas? Maybe we could give feedback if popup is loading at least, so that user does not click multiple times...?