Are these all the Web Storage APIs?
Storage API and:
* Sesson
* Local
* Cookies
* IndexDB
* Shared Storage
* Cache storage
* Storage access API
1 Reply
The one I learned about today is the "origin private file system" (OPFS), which is a file system that only exists within the browser.
(You can actually use the File System API to get a read / write handle into your local directory tree. The OPFS, though, is only traversable through function calls in the browser & won't necessarily correlate to actual files on your system.)
I learned about it reading through the XMTP docs. XMTP uses the OPFS to store a SQLite database where it caches some information.
The biggest potential downside is it is curtailed by the storage quota, (which you can see with an
await navigator.storage.estimate()
in the developers' console). Chrome says my quota is 10,756,504,503,090 (~10TiB?), so it oughtn't be much of a problem.