3 ms·
Any reason you can think of that local storage gets ignored while cookies are maintained?
by koromak 3y ago
Any reason you can think of that local storage gets ignored while cookies are maintained?
- graftak 3y agoLocalStorage may include application state that is irrelevant/incompatible with the PWA version of the page(?). For session authentication a http secure cookie has long been the best practice for anyway, which is now marginally underlined even more so.
- jitl 3y agoCookies have a very small size limit. Other storage like cache, IndexedDB, etc can be 100MB+ Also Safari’s IndexedDB implementation has always been a little shaky I wouldn’t want to deal with it if I was implementing this feature!