fmidev / weather-app

FMI's official weather application for mobile devices
6 stars 2 forks source link

issue-582: Use axios-cache-interceptor to cache timeseries queries #583

Closed geosaaga closed 3 weeks ago

geosaaga commented 3 weeks ago

The library didn't work well with axios CancelToken, so had to convert CancelToken usage to AbortController. CancelToken is deprecated anyway, so the change is better for the future anyway.

Also starttime was removed from forecast queries to keep querystring same and cacheable.