holepunchto / corestore

A simple corestore that wraps a random-access-storage module
https://docs.holepunch.to
MIT License
74 stars 28 forks source link

Support globalCache opt #94

Closed HDegroote closed 2 months ago

HDegroote commented 3 months ago

Depends on https://github.com/holepunchto/hypercore/pull/535 (hence draft)

Passing in a Rache as the value of globalCache will pass that globalCache on to every Hypercore created with the corestore, so they can all use the shared cache.