osmcha-frontend
osmcha-frontend copied to clipboard
Too low or unstable for of loading of filtered Changesets
Describe the bug
When I go to filtered changeset list page, it loading too slow, or evenutely failed to load the changeset set even after minutes, even my AOI have not have complicated polygons, the loading is unpredictable slow, and high change of fail to load such filtered changeset lists.
Such the page or click to your own filtered changeset list to test https://osmcha.org/filters?aoi=dae286e1-c4e4-47a7-b430-d12bffaf4c97
Changeset URL
https://osmcha.org/filters?aoi=dae286e1-c4e4-47a7-b430-d12bffaf4c97
Environment
Chrome 114 on Android
Additional information
No response
++ to this issue. In my Firefox on Win10 the same last time.
One factor that makes loading lists of changesets very slow is the use of offset-based pagination; see #704
Switching to cursor-based pagination would substantially speed up the required database queries for these endpoints and is probably the best thing we can do right now to improve performance.