Cache location and weather data
Closed this issue · 2 comments
AlstonLin commented
After #11 gets merged, we should cache API calls to the awareness API for weather data in Preferences, along with a timestamp of when that data was retrieved. Then, every time we're about to fetch that data, we check if we have a cached value within a timestamp that's close enough (use some constant to define this).
This will prevent unnecessary API calls
AlstonLin commented
Not that high of priority because of the insanely large quota
AlstonLin commented
It actually looks like Awareness API does this built in.