Skip to main content
-5 votes
1 answer
86 views

I’m using localStorage in a small web app to persist user preferences. However, when I restart the browser, sometimes the stored data disappears. After closing and reopening Chrome, getItem("...
Work Ofchinmay's user avatar
2 votes
1 answer
826 views

According to the MDN docs browser-stored data can be evicted in three cases: Storage pressure eviction Browser maximum storage exceeded eviction Proactive eviction For the first case - "Storage ...
sunyata's user avatar
  • 2,311
2 votes
3 answers
352 views

In which order storage event is received? For example, tab_1 executes code localStorage.set('key', 1); localStorage.set('key', 2); and tab_2 executes code localStorage.set('key', 3); localStorage.set(...
Ivan Ivanyuk's user avatar
2 votes
2 answers
3k views

I started working with Angular 17. As per recommendation, I went with a no app.module. Now, I am trying to use ngx-webstorage and for a StateStorageService I used this in earlier version of angular ...
dharam's user avatar
  • 8,136
0 votes
1 answer
175 views

Refs: Spec, MDN If I wanted an object that implements the API of the Storage interface — but not for the persistence (backed only by memory): I understand that I could re-implement it on my own using ...
jsejcksn's user avatar
  • 34.6k
0 votes
0 answers
156 views

I'm starting a new Vue 3 + Vite project and its a simple landing page. Its nothing too fancy but I was in doubt what would be the best way to handle media files - especially some large files like ...
Igor Ponso's user avatar
1 vote
3 answers
65 views

I have an issue with adding a point to the existing/old score value after I refresh the web page. Instead of adding a point to the existing/old score, it replaces it, which means if there's an ...
rich's user avatar
  • 71
0 votes
1 answer
573 views

I am struggling with the window.localStorage. I don't know how to use it to achieve my goal. My current code just stores the player's score in the server so if I restart the server, their score will ...
rich's user avatar
  • 71
1 vote
0 answers
52 views

this is my code <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>CV Information</title> <link rel="stylesheet" href="...
Rami Joulani's user avatar
0 votes
1 answer
54 views

I've been searching but couldn't find an updated answer to 2022: what is the maximum size I can store in IndexedDB?
Jor's user avatar
  • 1
3 votes
2 answers
1k views

I store multiple large assets in navigator.storage, to avoid large downloads. With it, I would like to do the following as well: "List" - to show all the saved files "Clear cache" ...
Amit's user avatar
  • 6,364
3 votes
1 answer
752 views

I want to get the upper limit I can store in indexedDB for storing many large binary files, while StorageManager.estimate() reports much bigger than my real free disk space. Then I found this answer ...
crazyones110's user avatar
1 vote
0 answers
27 views

Where the browser localStorage variable defined and how is that possible we can access window.localStorage object through a global browser variable localStorage?Seems like this browser behaviour is ...
Juriy's user avatar
  • 595
0 votes
2 answers
587 views

I have a button which change background color and title color button id="change" onclick="change()">Change background!</button> ...
Kuba Disko's user avatar
0 votes
2 answers
254 views

I have shopping cart feature added in my ecommerce web app. So inside header there is a an icon of cart. So when anyone click on that icon dropdown appears which shows added items inside cart. So if I ...
Rakhi's user avatar
  • 111

15 30 50 per page
1
2 3 4 5
16