Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Watch/Improve loadtime performance of POIs #380

Open
jmfield2 opened this issue Nov 30, 2016 · 0 comments
Open

Watch/Improve loadtime performance of POIs #380

jmfield2 opened this issue Nov 30, 2016 · 0 comments

Comments

@jmfield2
Copy link
Contributor

Summary:

Now that the new POI system is being used heavily by the layers widget (thanks to the collapsible groups), several new poi queries are requested upon initialization of the web app.

This causes additional data transfer and some extra time to the load time of the app - and could possibly be significant in e.g. certain mobile devices where bandwidth is scarce.

The following screenshots show the before and after network inspector for the POI API queries:

selection_020

selection_019

Expected behavior:

Some possibilities for improvements:

  1. Investigate enabling CACHING for API endpoint
  2. Add a bounding box to the POI API and update the frontend to only load the data for the visible area. NOTE: this will cause additional ajax queries for active layers upon map pan.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant