3 ms·
Yeah, about those cookies - I don't want them (https://github.com/gruns/ImmortalDB/issues/6 https://github.com/gruns/ImmortalDB/issues/6). I just want to perman
by martin_drapeau 8y ago
Yeah, about those cookies - I don't want them (https://github.com/gruns/ImmortalDB/issues/6 https://github.com/gruns/ImmortalDB/issues/6). I just want to permanently store large data in the browser. ImmortalDB sounded like the right thing to abstract away everything and make it sticky.
- dspillett 8y agoYou can tell it not to use cookies, to get around the problems of them being more limited in size and being sent on each request so wasting bandwidth. I'm guessing a mix of localstorage and sessionstorage isn't al that useful (I can't imagine a circumstance where localstorage is being cleared when sessionstorage isn't also or hasn't already been) but localstorage+indexeddb might give you some useful level of protection.