Using IndexedDB - Web APIs | MDN
IndexedDB is a way for you to persistently store data inside a user's browser. Because it lets you create web applications with rich query abilities regardless of network availability, your applications can work both online and offline.
MDN Web Docs