Use IndexedDB to store data