DC 5.9 Step 1: Configuring Azure CDN

Azure CDN consists of two entities:

  • Profile
  • Endpoint(s)

A CDN profile is a container for the Endpoint(s), which specifies which provider to use. An Endpoint is the actual CDN configuration where the caching rules are setup. We refer to the Azure documentation on how to setup a Profile.

Setting up CDN Endpoint in Azure

Adding an Endpoint in Azure CDN, provides you the following dialog:


The parameters should be filled out as follows:

  • Name:Ā Is the name of the CDN and is going to be part of the CDN url
  • Origin type:Ā Azure specific thing. Set this to Custom Origin
  • Origin hostname:Ā URL of Digizuite (without http(s) specification)
  • Origin Path:Ā Specifies what the endpoint should listen to. In the Digizuite case, set to "/dmm3bwsv3" as that is where assets are streamed from
  • Protocol:Ā Specify which protocols you want the endpoint to use and the ports
  • Optimized for:Ā Azure specific thing. See documentation

Once the Endpoint is created, the minimum required CDN setup is finished.

Optional configurationĀ 

Navigate to the endpoint and locate Caching rules in the left menu tree. ThisĀ  provides the following view:

In here, Global and Custom caching rules may be setup. These are rules on how the Azure CDN cache behaves. The most important parameters here are the Global caching rules, where you can setup a time to live on the cache. The default is 7 days.

If the Global rules are changed, it is important that the following parameters are set as follows:

  • Caching behavior:Ā Must be "Set if missing"
  • Query string caching behavior:Ā Must be set to "Ignore query strings"Ā  (there is an exception - please read ** below)


**Using Asset streamer with query paramemters (for chrome extension or on demand resize)

** One note here is that if you are using CDN for accelerating URLs by using the assetstreamer WITH query parameters then you need to select all URLs are unique and use a different CDN than the one for your Media Manager.