Many little optimizations
daguar opened this issue · comments
Dave Guarino commented
Because this MVP was built just to "make it work," there are a number of optimizations needed to (a) minimize assets, (b) minimize runtime.
Among them:
- Preprocess BART geo data into the form needed (instead of processing from the raw source on-the-fly)
- Run the two async calls concurrently (geolocating user and getting GeoJSON data; could also just load the GeoJSON in the HTML)
- Remove extraneous files/assets (tons of HTML5 Boilerplate crap is in here that's not actually necessary)