Page 1 of 1

Reliability of LocalStorage?

PostPosted: Wed May 27, 2020 3:31 am
by anlumo
Hi,

We're currently developing a desktop application using CEF (and some native parts) and are storing our document data in CEF's localStorage. How reliable is that?

I know that browsers don't guarantee persistence, which isn't really a problem since you always have a server-side component you can store data on anyways. However, that's generally not the case for a desktop application. But since CEF is fully under our control and not just some random browser the user supplies, can we expect more reliability? Does CEF (or the Chromium part) ever delete localStorage on its own? This would include migrations when updating the CEF library.