Default avatar
bitvid 1 month ago
Good ideas. SSR plus caching the first ~30s would definitely fix the cold start, but at that point it's a CDN, and bitvid is deliberately a static client with no server. What we can do client-side: we already try the direct URL first, fall back to WebTorrent if it stalls, and play HLS via hls.js when a host provides it. Next up is smarter probing (Range requests instead of HEAD, remembering dead hosts across sessions) and warming the first few seconds on hover. A ZeroNet-style nostr/nsite daemon that acts as a local caching relay + seeder is the real fix tbh. If someone builds it, bitvid would happily talk to it. Keep the ideas coming.

Replies (1)

I think someone might actually be working on something like that (zeronet for nostr) already, but I can’t remember who. Maybe it was one of the FIPS guys, judging by the podcasts.
↑