News for hackers. Stuff that matters.
Re:A future for SQL on the web by jitl on Friday August 13, 2021 @07:43AM (#28167765)
You can’t trust localStorage anyways - it will silently drop some writes in Chrome and Firefox. Some years ago, we used localStorage for queuing writes to the backend and found that concurrent access to localStorage caused data loss - some transactions never came back out of localStorage. One of our engineers wrote a stress test and confirmed the issue. We switched to IndexedDB after that.

There are no comments on this comment yet.