I\'m having a problem where the cached object doesn\'t resemble the correct data so I figured it I can push up the most uptodate version to the browser cache it will solve m
setItem wont work instead it will create another item in localStorage with the same name
Instead directly use
localStorage.item = (what ever the change that you want in the item)