humphd/bridge-troll

Dynamically load bridge-data.json after startup, and cache

humphd opened this issue · 0 comments

We rely on the data in data/bridge-data.json to show all the bridges. However, we only need to get it once (it currently never changes, so we could cache it locally), and we don't need it to draw the map at first. It adds significant download heft to our bundle, and dynamically loading it would be a huge win.