Cache location data
marcoow opened this issue · comments
This is the second step where we if there is data in the database (that is still relatively recent), return that and still load the new data in the background and write it to the database for later requests.
I think the second step for this is to return the measurements for a location in the same response when the location is returned so that the client wouldn't even have to make an additional request.
@marcoow I think it might easier to keep these separate for now while building all the async stuff?
Yes, that can be done separately - just left it here so it doesn't get lost.