The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [local-storage]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
48 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
3answers
250 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 ...
-1
votes
1answer
61 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
3answers
265 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
1answer
422 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
2answers
833 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 ...
8
votes
1answer
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
1answer
831 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
0answers
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. ...
5
votes
3answers
10k 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
1answer
906 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
1answer
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
1answer
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
1answer
691 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 ...
86
votes
3answers
77k 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
1answer
224 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
1answer
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
1answer
91 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 –...