Questions tagged [local-storage]
The local-storage tag has no usage guidance.
21
questions
-2
votes
1
answer
141
views
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 ...
1
vote
2
answers
74
views
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 ...
0
votes
1
answer
736
views
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-...
0
votes
1
answer
554
views
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 ...
2
votes
3
answers
3k
views
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 ...
-2
votes
1
answer
121
views
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 ...
2
votes
3
answers
688
views
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 ...
2
votes
1
answer
3k
views
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 ...
1
vote
2
answers
882
views
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 ...
9
votes
1
answer
5k
views
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 ...
2
votes
1
answer
1k
views
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 ...
0
votes
0
answers
2k
views
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.
...
6
votes
3
answers
12k
views
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 ...
1
vote
1
answer
997
views
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 ...
3
votes
1
answer
1k
views
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,...
3
votes
1
answer
2k
views
Caching large amount of ajax returned objects
I'm building an application which fetches large amount of items with ajax requests via other application API. It returns me 6k - 30k js objects which are used multiple times across various application ...
2
votes
1
answer
930
views
Under what scenarios will an App's localStorage get cleared?
I am developing an Hybrid android app using HTML5 which will work completely offline.
Today morning when I opened the app, I saw that all the data stored in localStorage was cleared.
Under what ...
116
votes
4
answers
96k
views
Why is Web SQL database deprecated?
I am making a hybrid Android app.
At first I decided to use localStorage, after spending 2 days, I realized that it is very strange and so dropped it.
Then, I picked up indexedDB, after spending ...
0
votes
1
answer
238
views
The best approach to building a mobile service that's also available when the connection drops?
Hopefully this question will be a good suit for P.SE since it is a whiteboard-level 'how can this be done' conceptual question.
I'm trying to build a product that needs to be available to someone on ...
2
votes
1
answer
1k
views
How to verify data from localStorage on a server
On my mobile app, I am storing the username of a logged in person, and downloading some data for the given/stored username. When the user checks for updates to his data content on the server, the ...
4
votes
1
answer
95
views
How to manage document format changes with local storage?
I'm programming a Javascript application which saves "documents" in localStorage. As the app evolves, naturally there are changes in the document format.
I've tried searching but not found anything –...