Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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:

Image RemovedImage Added


The parameters should be filled out as follows:

...

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:

Image RemovedImage Added

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.

...

  • 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) 

** 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.