EdgeCache

Quick start

Point your origin at an edge node and let it cache static media. A minimal config:

edge:
  listen: ":443"
  origin: "https://origin.internal"
  cache:
    path: "/var/cache/edge"
    max_size: "20g"
  paths:
    - match: "/hls/live"   # streaming segments
      ttl: "10s"
    - match: "/assets"      # static files
      ttl: "7d"

Segment and playlist requests under /hls/live are proxied to the origin with a short TTL so live streams stay fresh, while /assets is cached long-term.

See the status page for the health of this node.