Content Delivery Network (preview)

[This topic is pre-release documentation and is subject to change.]

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

Diagram of the world showing Content Delivery Network servers on three different continents. Each server connects to users who are on, or near to, the continent the server is located on.

Important

  • This is a preview feature.
  • Preview features aren’t meant for production use and may have restricted functionality. These features are available before an official release so that customers can get early access and provide feedback.

When you enable Content Delivery Network on your portal, static content—like images, scripts, and style sheet files used to design your portal website—will be stored and served from the Content Delivery Network server closest to your location.  

Note

You can also configure a site with Content Delivery Network in Power Pages. More information: What is Power Pages

Note

  • You need to be a portal administrator to enable Content Delivery Network. This feature is available for Power Apps portals. If you're using the Add-on license, you can't enable Content Delivery Network. Trial portals aren't supported for Content Delivery Network. You can't enable Content Delivery Network for portals configured with a custom domain during preview. 
  • Using a custom domain name on a site is currently not supported with using Content Delivery Network.
  • Restricting portal access by IP address on a site is currently not supported with using Content Delivery Network.

Enable Content Delivery Network for a production portal 

Content Delivery Network is available for production Power Apps portals. The steps below detail how to enable it.

  1. Open the Power Platform admin center.

  2. Go to Environments.  

  3. Select the environment where the portal was created. 

  4. On the Resources card, select Portals

    The Portals option on the Resources card.

  5. Select the portal from the available list, and then select Manage

    Choosing a portal to manage from the available list.

  6. Select Manage Content Delivery Network.

    Manage Content Delivery Network item.

  7. Turn on the Content Delivery Network toggle switch.

    Toggle switch with Content Delivery Network feature enabled.

It might take a few minutes to provision Content Delivery Network.

Enable Content Delivery Network while converting trial to production 

  1. In the trial portal, open the Power Apps portals admin center

  2. Select Convert

  3. Select the Enable the Content Delivery Network checkbox. 

  4. Select Confirm. Message confirming you want to enable Content Delivery Network while converting trial to production.

Disable Content Delivery Network 

  1. Open the Power Platform admin center

  2. Go to Environments.  

  3. Select the environment where the portal was created. 

  4. On the Resources card, select Portals

  5. Select the portal from the available list, and then select Manage 

  6. Select Manage Content Delivery Network.

  7. Turn off the Content Delivery Network toggle switch. 

    Disable Content Delivery Network switch.

It might take a few minutes for the process to disable Content Delivery Network.

Clear the Content Delivery Network cache 

Static website contents are stored on Content Delivery Network servers across geographical locations. You can clear the cached content by using the Purge cache command. This action clears the cache from the Content Delivery Network server and the portal website. 

  1. Open the Power Platform admin center 

  2. Go to Environments.

  3. Select the environment where the portal was created.

  4. On the Resources card, select Portals

  5. Select Purge Cache.

    The Purge Cache button.

Cache configuration 

Static files are cached based on the file name extensions stored in the Web files table in the Portal Management app. By default, Content Delivery Network caches files that have the extensions css, js, png, svg, jpg, ico, woff2, gif, ttf, woff, eot, otf, tts, jpeg, 7z, mp3, and mp4 on the edge server. A maker can override the default list by updating the site settings. 

  1. Open the Power Apps home page. 

  2. Select the environment where the portal was created.

  3. On the left pane, select Apps

    The Apps section.

  4. Select the Portal Management app. 

  5. Go to Site Settings.

  6. In the ContentDeliveryNetwork/FileExtensions site setting, update or add to the list of file name extensions you want to be cached. 

    List of files to be cached.

Privacy notice 

Enabling the Content Delivery Network service stores your site files on servers across multiple geographical locations and delivers the files from the server closest to your site visitors. When a user makes a request to the webpage of the site, the nearest Content Delivery Network server in the Microsoft global network receives the request and forwards it to the back-end application server. Static files in the page response are cached on the Content Delivery Network server. Subsequent requests to static files of the webpage are delivered from the cached content on the Content Delivery Network server, and dynamic page content is forwarded and delivered from the application server.

Note

Only files that are part of a webpage that can be accessed by anonymous users are stored on Content Delivery Network servers; authenticated files are always delivered from the application server. An administrator can configure the list of static files to be stored on servers based on their file name extensions.

A portal administrator can disable Content Delivery Network at any given point to stop the service, and all the files cached on the Content Delivery Network servers will be removed.  

Content Delivery Network is powered by Azure Front Door to provide a fast, reliable, and modern cloud content delivery network.

Note

For more information about other Azure service offerings, go to the  Microsoft Azure Trust Center.