3 ms·
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:/
by Shakahs 5mo 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 https://svs.gsfc.nasa.gov.
- beeswaxpat 5mo agoYes, 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%
- maximilianthe1 5mo agoThis looks suspicisly like LLM answer
- beeswaxpat 5mo agoHalf of it was a to-do list from an LLM response, Claude Opus 4.7, also why it was updated so fast :D
- beeswaxpat 5mo agoUpdate: Updated! Optimizations implemented, thanks for the feedback!