fmidev / weather-app

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

Use Etag with timeseries queries #582

Open geosaaga opened 4 weeks ago

geosaaga commented 4 weeks ago

Timeseries returns Etag header for timeseries queries. Save the Etag to Redux store and use it when updating forecasts or observations. This should reduce load on Smartmer Server side.

The app should send If-None-Match header with Etag, for example

If-None-Match: "bfc13a64729c4290ef5b2c2730249c88ca92d82d"