Questions tagged [local-storage]
The local-storage tag has no summary.
21 questions
-2votes
1answer
400views
Should I update local storage every new event in a chat app? [closed]
I am building a chat app using flutter and sqflite. In the chats screen we display a list of chats, each contain name and last message. Every time a user sends a message, should I update the last ...
1vote
2answers
93views
Is it okay to store ambiguous address information in localStorage?
I have a decently sized registration form that will require some PII data, as well as some obscure shipping information. I am working on best UX practices for input repopulation considering the time ...
0votes
1answer
1kviews
Why shouldn't I be using SQLITE instead of the INI format in all cases?
Backstory In an effort to store partial and full downloads to file in a clean manner, I had utilized QSettings which stores its key value pairs in the INI format in a single file. https://doc.qt.io/qt-...
0votes
1answer
744views
Storing session state in browser's local storage
Stack Exchange has some bits of what seems to be session state -- for example, whether you want to see 15, 30, or 50 questions per page when you view a list of questions. You can click on the button ...
2votes
3answers
4kviews
What's faster.. Multiple variables or single array? [duplicate]
I have a C-coded function that realizes a very long calculation on a microcontroller. I try to optimize it for speed at the moment. The function content is created automatically using Mathematica. It ...
-2votes
1answer
150views
Do I need any sort of gdpr/cookie/localstorage notification if I only save data when the user creates an account?
I've made a website which is going into production soon. The website doesn't store any information about the user unless they create an account, in which case I save username, email and a password to ...
2votes
3answers
785views
Storing a large amount of measurement data in a small storage space
I'm storing some temperature, voltage and current data every 10 seconds to a log file. This file is supposed to be retrieved later so we can read the data and display it. Time requirement is 6 month ...
2votes
1answer
3kviews
Best strategy for OAuth2.0 across browsers and across tabs within the same browser?
I have developed a login system using OAuth2.0 that is currently working within one tab in one browser. Without diving into the code, the system works by having the user enter their credentials to ...
1vote
2answers
894views
Creating a client side database to store consumed web services?
I have been developing android application for a while now. What we currently do is we first develop our UI components in the mean time web API developers will be completing the web APIs required, so ...
9votes
1answer
5kviews
Is there a reason not to use HTML5 local storage for content
On many static websites the total size of the actual text content of the most popular 20 pages would come in at under 100kb. I would imagine that it would be possible to leverage HTML5 local storage ...
2votes
1answer
1kviews
Preserving data in js with multipage application
One benefit of single page applications like Angular.js, is that you can store data in a global variable and access in multiple routes. With multiple page applications, the data is lost during ...
0votes
0answers
2kviews
Hybrid Apps and Storage - how does it work with Native apps and which to use?
I'm using Ionic at the moment. I believe, like many others, that hybrid apps will become more more common/important than they are now simply because the frameworks are getting better and better. ...
6votes
3answers
12kviews
How to implement simple secure client side encryption
I know these sorts of questions come up, but I couldn't find a simple answer, most of the answers are "don't do that" For play, I built myself a webapp, it uses sjcl to encrypt and decrypt notes on ...
1vote
1answer
1kviews
How do browsers handle URLs in HTML5 offline mode?
I just read the de facto standard for HTML5 offline/localStorage. It has me curious: if I build my web app to work regardless of whether or not there's an internet connection, and I use HTML5 ...
3votes
1answer
1kviews
Cross browser client side storage
I am developing an angularjs app. The app has to run in current FF, IE, Chrome and on iOS/Android via Phonegap. I am looking for a solution to store data in the client. Phonegap offers a web sql api,...