PostMessage Proxy Cache for orbit-db, wraps orbit-db-cache.
If configured with ipfs-postmsg-proxy, allows for all orbitdb state to be stored in iframe. Allowing the same store to be shared across domains. Minimizing syncs and times to load DBs. Reference 3box-js for an example which implements this.
Server/Client model that has an RPC interface bewteen the two. The "server" will run the cache and the store state. It waits for requests from the "client". The "client" implements the same API as orbit-db-cache, but all function calls are sent and executed by the "server". Use in "client" window the same way you would use orbit-db-cache.
In the "server" window (likely an iframe):
In the "client" window (likely parent window):
...const cache =ipfs orbitPath cache