From the wiki documents, it says that Local Storage is lost if the browser cache is cleared on some devices. It also says to use SQLite database instead so data is not lost if cache is cleared.
Is this still valid?
For all my applications, if i clear my Chrome browser, all sql databases are cleared also.
My experience has been that clearing the desktop browser cache clears everything but on mobile PGB apps clearing the browser cache leaves both local storage and SQLite intact. Both Apple and Android clearly state that local storage can be lost and should not be considered safe or permanent while SQLite doesn’t come with that warning and is considered safe.
As George pointed out, the server is the only safe place but the information that ties the user to the server (cookies, userid’s in local storage, SQLite etc) is always at risk. The good news is that the user typically expects to log back in when they clear their cache.