Skip to main content

Service Templates

Overview​

To get your services up and running quickly, IO River provides multiple templates:

  • Generic service with cacheable content
  • Saas or web application
  • Dynamic non-cacheable content
  • VOD streaming
  • Live streaming

Select a template when you create the service:

  • IO River will add standard behaviors and security settings accordingly.
  • You can modify and adjust the service configuration at any time.

Generic service with cacheable content​

  • Security
    • Allowed methods: PATCH, OPTIONS, DELETE, HEAD, PUT, POST, GET
    • Security engines: disabled
  • Edge Cache Behavior
    • Cached methods: GET, HEAD
    • Cache key: URL path, including all URL query parameters, and the HOST header
    • Cache TTL:
      • Response 2xx and 3xx: 1 day
      • Response 4xx and 5xx: 10 seconds
  • Browser Cache Behavior
    • Cache: allowed
  • Other Behaviors
    • Compression: enabled

Saas or web application​

  • Security
    • Allowed methods: PATCH, OPTIONS, DELETE, HEAD, PUT, POST, GET
    • Security engines:
      • WAF ML-based engine: enabled, in learning mode
      • WAF rules-based engine: enabled, block attacks with high confidence
  • Edge Cache Behavior
    • Cache: disabled
  • Browser Cache Behavior
    • Cache: disabled (sets the Cache-Control response header to max-age=0, no-cache, no-store)
  • Other Behaviors
    • Compression: enabled

Dynamic non-cacheable content​

  • Security
    • Allowed methods: PATCH, OPTIONS, DELETE, HEAD, PUT, POST, GET
    • Security engines: disabled
  • Edge Cache Behavior
    • Cache: disabled
  • Browser Cache Behavior
    • Cache: disabled (sets the Cache-Control response header to max-age=0, no-cache, no-store)
  • Other Behaviors
    • Compression: enabled

VOD streaming​

  • Security
    • Allowed methods: PATCH, OPTIONS, DELETE, HEAD, PUT, POST, GET
    • Security engines: disabled
    • CORS:
      • Set Access-Control-Expose-Headers to allow X-IORiver
  • Edge Cache Behavior
    • Cached methods: GET, HEAD
    • Cache key: URL path, including all URL query parameters, and the HOST header
    • Cache TTL:
      • Response 2xx and 3xx: 1 month
      • Response 4xx and 5xx: 10 seconds
  • Browser Cache Behavior
    • Cache for manifest files: disabled (sets the Cache-Control response header to max-age=0, no-cache, no-store)
    • Cache for other content: allowed
  • Other Behaviors
    • Compression: enabled

Live streaming​

  • Security
    • Allowed methods: PATCH, OPTIONS, DELETE, HEAD, PUT, POST, GET
    • Security engines: disabled
    • CORS:
      • Set Access-Control-Expose-Headers to allow X-IORiver
  • Edge Cache Behavior
    • Cached methods: GET, HEAD
    • Cache key: URL path, including all URL query parameters, and the HOST header
    • Cache TTL:
      • Response 2xx and 3xx:
        • Cache TTL for video/audio segments (*.ts, *.mp4, *.m4s): 30 minutes
        • Cache TTL for manifest files (*.m3u8, *.mpd): 2 seconds
        • Cache TTL for other content: 30 minutes
      • Response 4xx and 5xx: 10 seconds
  • Browser Cache Behavior
    • Cache for manifest files: disabled (sets the Cache-Control response header to max-age=0, no-cache, no-store)
    • Cache for other content: allowed
  • Other Behaviors
    • Compression: enabled