Use IndexedDB to store and retrieve data.