This is up to interpretation how we do it, we need service workers to fetch API data asynchronously, when offline, etc.
for the weather API, I believe it will be best to have a service worker periodically check for updated weather forecast after several minutes of inactivity, using the location fields.
This is up to interpretation how we do it, we need service workers to fetch API data asynchronously, when offline, etc.
for the weather API, I believe it will be best to have a service worker periodically check for updated weather forecast after several minutes of inactivity, using the location fields.