You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/spfx/web-parts/get-started/deploy-web-part-to-cdn.md
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Deploy your SharePoint client-side web part to Azure CDN
3
3
description: Create a new sample web part and deploy its assets to an Azure CDN instead of using the default Office 365 CDN as the hosting solution.
4
-
ms.date: 06/13/2022
4
+
ms.date: 03/08/2023
5
5
---
6
6
# Deploy your SharePoint client-side web part to Azure CDN
7
7
@@ -64,6 +64,10 @@ Create a new CDN profile and associate the CDN endpoint with this BLOB container
64
64
65
65

66
66
67
+
1. To allow scripts to be cached by the SharePoint service worker, add an appropriate Cache-Control response header to the CDN endpoint.
68
+
69
+

70
+
67
71
Because you associated the CDN endpoint with your storage account, you can also access the BLOB container at the following URL: **`http://spfxsamples.azureedge.net/azurehosted-webpart/`**
68
72
69
73
Note, however, that you have not yet deployed the files.
0 commit comments