Extending and Overriding CDN Behavior

Rules Engine can be used to override and/or extend the CDN configuration defined in the MCC and the response headers defined by a web server (e.g., Apache or IIS).

Interaction with Key Features

Rules Engine will not override the configuration defined for the following features:

The above features secure content by directory. This configuration takes precedence over instructions provided in a rule.

It is recommended to configure the above features solely within Rules Engine. This type of configuration maximizes flexibility and reduces complexity.

Sample Scenario

This example demonstrates how Rules Engine may be used to extend the behavior of Token-Based Authentication.

It assumes the following CDN configuration:

Feature Configuration

Token-Based Authentication

Secures the following path:

/marketing/secure

Rules Engine

  1. Enables Token-Based Authentication for all files.
  2. Bypasses Token-Based Authentication for HTML files.

Based on this configuration, the CDN will secure content as indicated below.

In this scenario, valid tokens are still required for assets that support HTML pages (e.g., JS, CSS, images, etc.) that are not secured by Token-Based Authentication.

Edge Server Compression

Edge server compression should only be configured through either Rules Engine's Compress File Types feature or the Compression page.

Attempting to configure edge server compression through both Rules Engine and the Compression page will create an invalid configuration that will not be applied to your account. Furthermore, no additional configuration changes will be applied to your account until this conflict is resolved.