3 ms·
Yeah, but of what? Caching the downloaded file? I wouldn’t think encrypted file links would need long term storage of anything. You receive the link, key exchan
by tofukid 5y ago
Yeah, but of what? Caching the downloaded file? I wouldn’t think encrypted file links would need long term storage of anything. You receive the link, key exchange is derived from key in link, file is downloaded and decrypted on-the-fly.
- azangru 5y ago> Yeah, but of what? As far as I understand Google's recommendation for web developers, of anything [0]. Their position is, avoid localStorage because it's synchronous, use indexedDB because it's asynchronous. So anything you would use localStorage for, Google suggests putting into indexedDB instead. I don't remember whether the browser API was expected to get AsyncLocalStorage like the Node API has, or whether that would change Google's recommendations for developers. [0] - https://web.dev/storage-for-the-web/ https://web.dev/storage-for-the-web/
- whoisburbansky 5y agoGP’s point is that at first blush it doesn’t seem like the Wormhole app should need any local storage in the first place.
- deleted 5y ago[deleted]