Comment

Comment by lioeters

> browsers may delete your IndexedDB database under certain conditions

Safari will happily delete your IndexedDB database after 7 days of inactivity.

It deletes "all of a website’s script-writable storage after seven days of Safari use without user interaction on the site". That includes:

- Indexed DB

- LocalStorage

- Media keys

- SessionStorage

- Service Worker registrations and cache

Source: https://webkit.org/blog/10218/full-third-party-cookie-blocki...

Found via: The pain and anguish of using IndexedDB: problems, bugs and oddities - https://gist.github.com/pesterhazy/4de96193af89a6dd5ce682ce2...

parent lioeters 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton