Content Delivery Network
Note
Effective October 12, 2022, Power Apps portals is Power Pages. More information: Microsoft Power Pages is now generally available (blog)
We will soon migrate and merge the Power Apps portals documentation with Power Pages documentation.
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.
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
- 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.
- Restricting portal access by IP address on a site is currently not supported with using Content Delivery Network.
- This service is not available in Government Community Cloud (GCC), Government Community Cloud (GCC High), Department of Defense (DoD), and UAE region.
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.
Open the Power Platform admin center.
Go to Environments.
Select the environment where the portal was created.
On the Resources card, select Portals.
Select the portal from the available list, and then select Manage.
Under Performance and Protection, turn on the Content Delivery Network toggle switch.
It might take a few minutes to provision Content Delivery Network.
Enable Content Delivery Network while converting trial to production
In the trial portal, open the Power Apps portals admin center.
Select Convert.
Select the Enable the Content Delivery Network checkbox.
Select Confirm.
Disable Content Delivery Network
Open the Power Platform admin center.
Go to Environments.
Select the environment where the portal was created.
On the Resources card, select Portals.
Select the portal from the available list, and then select Manage
Select Manage Content Delivery Network.
Turn off the Content Delivery Network toggle 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.
Open the Power Platform admin center
Go to Environments.
Select the environment where the portal was created.
On the Resources card, select Portals.
Select Purge Cache.
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.
Open the Power Apps home page.
Select the environment where the portal was created.
On the left pane, select Apps.
Select the Portal Management app.
Go to Site Settings.
In the ContentDeliveryNetwork/FileExtensions site setting, update or add to the list of file name extensions you want 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.
Feedback
Submit and view feedback for