แก้ไข

แชร์ผ่าน


What is a content delivery network on Azure?

Important

Azure CDN Standard from Microsoft (classic) will be retired on September 30, 2027. To avoid any service disruption, it is important that you migrate your Azure CDN Standard from Microsoft (classic) profiles to Azure Front Door Standard or Premium tier by September 30, 2027. For more information, see Azure CDN Standard from Microsoft (classic) retirement.

Azure CDN from Edgio will be retired on November 4, 2025. You must migrate your workload to Azure Front Door before this date to avoid service disruption. For more information, see Azure CDN from Edgio retirement FAQ.

A content delivery network is a distributed network of servers that can efficiently deliver web content to users. A content delivery network store cached content on edge servers in point of presence (POP) locations that are close to end users, to minimize latency.

Azure Content Delivery Network offers developers a global solution for rapidly delivering high-bandwidth content to users by caching their content at strategically placed physical nodes across the world. Azure Content Delivery Network can also accelerate dynamic content, which can't get cached, by using various network optimizations using content delivery network POPs. For example, route optimization to bypass Border Gateway Protocol (BGP).

The benefits of using Azure Content Delivery Network to deliver web site assets include:

  • Better performance and improved user experience for end users, especially when using applications where multiple round-trips requests required by end users to load contents.
  • Large scaling to better handle instantaneous high loads, such as the start of a product launch event.
  • Distribution of user requests and serving of content directly from edge servers so that less traffic gets sent to the origin server.

For a list of current content delivery network node locations, see Azure Content Delivery Network POP locations.

How it works

Screenshot of the content delivery network overview page

  1. A user (Alice) requests a file (also called an asset) by using a URL with a special domain name, such as <endpoint name>.azureedge.net. This name can be an endpoint hostname or a custom domain. The DNS routes the request to the best performing POP location, which is usually the POP that is geographically closest to the user.

  2. If no edge servers in the POP have the file in their cache, the POP requests the file from the origin server. The origin server can be an Azure Web App, Azure Cloud Service, Azure Storage account, or any publicly accessible web server.

  3. The origin server returns the file to an edge server in the POP.

  4. An edge server in the POP caches the file and returns the file to the original requestor (Alice). The file remains cached on the edge server in the POP until the time to live (TTL) specified by its HTTP headers expires. If the origin server didn't specify a TTL, the default TTL is seven days.

  5. More users can then request the same file by using the same URL that Alice used, and gets directed to the same POP.

  6. If the TTL for the file hasn't expired, the POP edge server returns the file directly from the cache. This process results in a faster, more responsive user experience.

Requirements

  • To use Azure Content Delivery Network, you must own at least one Azure subscription.
  • You also need to create a content delivery network profile, which is a collection of content delivery network endpoints. Every content delivery network endpoint is a specific configuration which users can customize with required content delivery behavior and access. To organize your content delivery network endpoints by internet domain, web application, or some other criteria, you can use multiple profiles.
  • Since Azure Content Delivery Network pricing gets applied at the content delivery network profile level, so if you want to use a mix of pricing tiers you must create multiple content delivery network profiles. For information about the Azure content delivery network billing structure, see Understanding Azure Content Delivery Network billing.

Limitations

Each Azure subscription has default limits for the following resources:

  • The number of content delivery network profiles created.
  • The number of endpoints created in a content delivery network profile.
  • The number of custom domains mapped to an endpoint.

For more information about content delivery network subscription limits, see content delivery network limits.

Azure Content Delivery Network features

Azure Content Delivery Network offers the following key features:

For a complete list of features that each Azure Content Delivery Network product supports, see Compare Azure Content Delivery Network product features.

Next steps