| ▲ | Shakahs 2 days ago | ||||||||||||||||
Looks very neat. You may want to optimize the content serving a bit, since it's currently hotlinking multiple large (30MB) videos at 2K resolution from https://svs.gsfc.nasa.gov. | |||||||||||||||||
| ▲ | beeswaxpat 2 days ago | parent | next [-] | ||||||||||||||||
Yes, you're right about optimization, this what I'll do: - Switch default to 1024p instead of 2048p so file drops from ~30 MB → ~8 MB (4× smaller) - Proxy through existing Cloudflare Worker with edge cache - Add a /video/* route that fetches NASA URL once, caches at the edge - After 1st request per region, every subsequent visitor gets it from Cloudflare PoP = NASA bandwidth: ~50 hits/day instead of ~10,000! NASA load drops by ~99% | |||||||||||||||||
| |||||||||||||||||
| ▲ | beeswaxpat 2 days ago | parent | prev [-] | ||||||||||||||||
Update: Updated! Optimizations implemented, thanks for the feedback! | |||||||||||||||||