ipfs / service-worker-gateway

[WIP EXPERIMENT] IPFS Gateway implemented in Service Worker
https://inbrowser.dev
Other
17 stars 8 forks source link

spike: compare performance of sw-cache vs persistent helia blockstore #296

Closed SgtPooki closed 2 weeks ago

SgtPooki commented 2 weeks ago

We need to check if disabling sw-cache for block requests is more efficient when we use a persistance blockstore.

we likely do not want both sw-cache for block requests and persistent blockstore because it's just duplicating storage, but finding an optimal storage solution here could be good.

Questions:

  1. how long until browser clears sw request cache if user doesn't clear it
SgtPooki commented 2 weeks ago

Items in a Cache do not get updated unless explicitly requested; they don't expire unless deleted. - https://developer.mozilla.org/en-US/docs/Web/API/Cache