--

I mostly like the code, using the window cache object is a really good idea. Room for improvement: use httpclient context instead of a request parameter to tell if a request has to be cached or not, use a Map fallback as a cache storage for unsupported clients, add a TTL.

--

--

Jose I Santa Cruz G
Jose I Santa Cruz G

Written by Jose I Santa Cruz G

Polyglot senior software engineer, amateur guitar & bass player, geek, husband and dog father. Not precisely in that order.

No responses yet