Configuration
Cloudflare
Cache rules and tunnels.
If you use Cloudflare Tunnels and a global Bypass Cache rule, you can still safely cache HLS streaming assets only.
Recommended rule (Cache Everything only for HLS):
Expression:
(http.host eq "sub.example.domain" and starts_with(http.request.uri.path, "/hls/"))Notes:
- Keep
/x/and API routes uncached. - HLS caching improves startup and reduces origin load.