kartaview / openstreetcam.org

The openstreetcam.org web site
MIT License
74 stars 9 forks source link

Loading profile sequences takes very long #346

Open joeybab3 opened 2 years ago

joeybab3 commented 2 years ago

Loading my profile sequences takes somewhere between 15-30 seconds on either the app or on the browser. This is consistent across devices, OS'es, and browsers so I don't think it's device-specific.

Seems like maybe caching a list of the user's tracks, as well as the URL of the first track image, wouldn't add that much to overall storage usage but would improve the performance immensely.

brmonaghan commented 2 years ago

Agree with this. @zhaitianduo I think this is caused by the slowness of KV's servers

zhaitianduo commented 2 years ago

Hey guys, thanks for the feedback, this is a known issue to us. This is loading too much data in 1 API call, we will improve this by doing a code refactor, but it takes time.

brmonaghan commented 2 years ago

ok thanks!