feat: improve configuration options
Opened this issue · 0 comments
SgtPooki commented
see comment from @achingbrain at #63 (comment):
I wonder if we couldn't just merge the USE_BITSWAP and USE_LIBP2P vars to just be use @helia/http or use helia?
Like, USE_HTTP_GATEWAYS_ONLY or something to select @helia/http.
I think the original intent was to surface metrics for the following:
- helia with libp2p & bitswap + trustless gateways + delegated routing
- helia with libp2p and delegated routing only (no bitswap)
- helia via trustless gateways only.
so we can see where fetching is the least performant and target improvements there. ipns://probelab.io/websites/#websites-http-comparison-ttfb-p90 has some explainers.