Re:LocalForage – An asynchronous data store with a simple, l...
by masklinn on Saturday July 26, 2014 @03:48PM
(#8090555)
Has anyone played with it? Are the backends hierarchical (can you store stuff in multiple backends)? Are they pluggable (can you add a new storage backend e.g. to a remote system or a shared webworker)?
[ Parent
| on HN ]
Re:LocalForage – An asynchronous data store with a simple, l...
by hliyan on Saturday July 26, 2014 @09:27PM
(#8091607)
Last month attempted to integrate it into a product that needed something in between local storage and IndexedDB. All the fallbacks worked perfectly. But the lack of an index (and therefore the inability to do bulk reads) was a deal-breaker. I ended up going for IndexedDB with a WebSql-based polyfill.
Re:LocalForage – An asynchronous data store with a simple, l...
by tofumatt on Saturday July 26, 2014 @04:57PM
(#8090775)
You could easily add your own backend relatively easily (the API is easy to copy), though it's not really "optimized" for that yet. It's designed with offline storage for JS in mind though, so the library itself likely won't support remote calls.