JS fetch: HTTP Caching instead of LocalStorage
Whenever you write plain JS without access to external libs, here is a quick hack on how to cache API responses, which I actually used for my homepage and in another small project.
The normal way
The JS function fetch makes remote calls really easy. ...
blog.mathiasnitzsche.de2 min read