bnjmnrsh-projs / signal-v-noise

Code kata using the NYT API.
https://bnjmnrsh-projs.github.io/signal-v-noise/
1 stars 0 forks source link

Be smarter about error responses and localStore caching #14

Closed bnjmnrsh closed 10 months ago

bnjmnrsh commented 1 year ago

Currently we cache the return value without checking it's an error first. The good thing about this behaviour is that we don't keep nailing the api, but return the error screen. However, in this case perhaps we could expire early instead of caching for the full length of time.

bnjmnrsh commented 10 months ago

Resolved by 441f238