A ton of data is collected, sifted, and sorted for Scootercam, and in fact very little of that data ever gets to the screen. Some of that is due to how the data is packaged by weather data mega-store Visual Crossing. A lot involves how and where I manage the data once it is received. The result has been a very inefficient site that transfers a whole lot more data than necessary. To fix this, I’ve launched Scootercam’s APIs. The endpoints will replace cumbersome code and unnecessary processing on the user’s side, and move that to the background.
For example, the home page calls up limited forecast data but needs to read in all of it, filter it, then display it. I’ll move the ‘read-in’ and ‘filter’ parts to the backend, and you should have a faster-loading page.