A simple caching layer on the browser's localStorage