We are using simpleweather.js, which pulls in weather from Yahoo Weather API. Yahoo often has issues, throwing an error that "weather data cannot be retrieved right now." This seems to be a common issue.
Is it possible to fetch the data on a schedule (maybe every 30 min), store it on our server and fetch it from there when the site is loaded? That way we’d be protected from the intermittent outages.
I've never done something like that, so I'm hoping someone can provide guidance.
Thank you!