Edge Cache

Give it any public URL. It is fetched once, verified byte-for-byte, and served back fast on every request after that — with range requests, so video seeks instantly. API reference

hit ratio
objects cached
bytes served

Use it from your code

Three calls: hand it a URL, wait for it to land, then read it back as many times as you like. Range requests are supported, so players can seek.

# 1 · cache a URL
curl -X POST https://omnira.dev/cache/v1/objects \
  -H "Authorization: Bearer $OMNIRA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"source_url":"https://example.com/video.mp4"}'
# → 202 {"operation_id":"..."}

# 2 · wait for it
curl https://omnira.dev/cache/v1/ops/$OPERATION_ID \
  -H "Authorization: Bearer $OMNIRA_KEY"
# → {"done":true,"content_sha":"..."}

# 3 · read it, as often as you want
curl https://omnira.dev/cache/v1/objects/$CONTENT_SHA -o video.mp4