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: articles/cdn/cdn-add-to-web-app.md
+25-29Lines changed: 25 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,29 +54,27 @@ Otherwise, if you don't want to optimize your new endpoint, you can use the web
54
54
55
55
## Create a content delivery network profile and endpoint
56
56
57
-
In the left navigation, select **App Services**, and then select the app that you created in the [static HTML quickstart](../app-service/quickstart-html.md).
57
+
1.In the left navigation, select **App Services**, and then select the app that you created in the [static HTML quickstart](../app-service/quickstart-html.md).
58
58
59
-
:::image type="content" source="./media/cdn-add-to-web-app/portal-select-app-services.png" alt-text="Screenshot of select an App Service app in the portal.":::
59
+
:::image type="content" source="./media/cdn-add-to-web-app/portal-select-app-services.png" alt-text="Screenshot of select an App Service app in the portal.":::
60
60
61
-
In the **App Service** page, in the **Settings** section, select **Networking > Azure CDN**.
61
+
1.In the **App Service** page, in the **Settings** section, select **Networking > Azure CDN**.
62
62
63
-
:::image type="content" source="./media/cdn-add-to-web-app/portal-select-cdn.png" alt-text="Screenshot of select Azure Content Delivery Network from networking setting of an App Service.":::
63
+
:::image type="content" source="./media/cdn-add-to-web-app/portal-select-cdn.png" alt-text="Screenshot of select Azure Content Delivery Network from networking setting of an App Service.":::
64
64
65
-
In the **Azure Content Delivery Network** page, provide the **New endpoint** settings as specified in the table.
65
+
1.In the **Azure Content Delivery Network** page, provide the **New endpoint** settings as specified in the table.
66
66
67
-
:::image type="content" source="./media/cdn-add-to-web-app/portal-new-endpoint.png" alt-text="Screenshot of create Azure Content Delivery Network profile and endpoint in the portal.":::
67
+
:::image type="content" source="./media/cdn-add-to-web-app/portal-new-endpoint.png" alt-text="Screenshot of create Azure Content Delivery Network profile and endpoint in the portal.":::
68
68
69
-
| Setting | Suggested value | Description |
70
-
| ------- | --------------- | ----------- |
71
-
|**content delivery network profile**| myCDNProfile | A content delivery network profile is a collection of content delivery network endpoints with the same pricing tier. |
72
-
|**Pricing tier**| Microsoft content delivery network (classic) | The [pricing tier](cdn-features.md) specifies the provider and available features. |
73
-
| **content delivery network endpoint name** | Any name that is unique in the azureedge.net domain | You access your cached resources at the domain *<endpointname>*.azureedge.net.
69
+
| Setting | Suggested value | Description |
70
+
| ------- | --------------- | ----------- |
71
+
|**content delivery network profile**| myCDNProfile | A content delivery network profile is a collection of content delivery network endpoints with the same pricing tier. |
72
+
|**Pricing tier**| Microsoft content delivery network (classic) | The [pricing tier](cdn-features.md) specifies the provider and available features. |
73
+
| **content delivery network endpoint name** | Any name that is unique in the azureedge.net domain | You access your cached resources at the domain *<endpointname>*.azureedge.net.
74
74
75
-
Select **Create** to create a content delivery network profile.
75
+
1.Select **Create** to create a content delivery network profile. Azure creates the profile and endpoint. The new endpoint appears in the **Endpoints** list, and when it's provisioned, the status is **Running**.
76
76
77
-
Azure creates the profile and endpoint. The new endpoint appears in the **Endpoints** list, and when it's provisioned, the status is **Running**.
78
-
79
-
:::image type="content" source="./media/cdn-add-to-web-app/portal-new-endpoint-in-list.png" alt-text="Screenshot of new Azure Content Delivery Network endpoint in list.":::
77
+
:::image type="content" source="./media/cdn-add-to-web-app/portal-new-endpoint-in-list.png" alt-text="Screenshot of new Azure Content Delivery Network endpoint in list.":::
80
78
81
79
<aname='test-the-cdn-endpoint'></a>
82
80
@@ -146,23 +144,21 @@ If you browse to the content delivery network endpoint URL for the home page, yo
146
144
147
145
To trigger the content delivery network to update its cached version, purge the content delivery network.
148
146
149
-
In the portal left navigation, select **Resource groups**, and then select the resource group that you created for your web app (myResourceGroup).
150
-
151
-
:::image type="content" source="./media/cdn-add-to-web-app/portal-select-group.png" alt-text="Screenshot of selecting resource group from left menu pane in the portal.":::
147
+
1. In the portal left navigation, select **Resource groups**, and then select the resource group that you created for your web app (myResourceGroup).
152
148
153
-
In the list of resources, select your content delivery network endpoint.
149
+
:::image type="content" source="./media/cdn-add-to-web-app/portal-select-group.png" alt-text="Screenshot of selecting resource group from left menu pane in the portal.":::
154
150
155
-
:::image type="content" source="./media/cdn-add-to-web-app/portal-select-endpoint.png" alt-text="Screenshot of Azure Content Delivery Network endpoint from resource group.":::
151
+
1. In the list of resources, select your content delivery network endpoint.
156
152
157
-
At the top of the **Endpoint** page, select **Purge**.
153
+
:::image type="content" source="./media/cdn-add-to-web-app/portal-select-endpoint.png" alt-text="Screenshot of Azure Content Delivery Network endpoint from resource group.":::
158
154
159
-
:::image type="content" source="./media/cdn-add-to-web-app/portal-select-purge.png" alt-text="Screenshot of purge button in an Azure Content Delivery Network profile.":::
155
+
1. At the top of the **Endpoint** page, select **Purge**.
160
156
161
-
Enter the content paths you want to purge. You can pass a complete file path to purge an individual file, or a path segment to purge and refresh all content in a folder. Because you changed *index.html*, ensure that is in one of the paths.
157
+
:::image type="content" source="./media/cdn-add-to-web-app/portal-select-purge.png" alt-text="Screenshot of purge button in an Azure Content Delivery Network profile.":::
162
158
163
-
At the bottom of the page, select **Purge**.
159
+
1. Enter the content paths you want to purge. You can pass a complete file path to purge an individual file, or a path segment to purge and refresh all content in a folder. Because you changed *index.html*, ensure that is in one of the paths. At the bottom of the page, select **Purge**.
164
160
165
-
:::image type="content" source="./media/cdn-add-to-web-app/app-service-web-purge-cdn.png" alt-text="Screenshot of purge page in an Azure Content Delivery Network profile.":::
161
+
:::image type="content" source="./media/cdn-add-to-web-app/app-service-web-purge-cdn.png" alt-text="Screenshot of purge page in an Azure Content Delivery Network profile.":::
166
162
167
163
<aname='verify-that-the-cdn-is-updated'></a>
168
164
@@ -194,13 +190,13 @@ In this section of the tutorial, you change the caching behavior to cache every
194
190
195
191
### Change the cache behavior
196
192
197
-
In the Azure portal **CDN Endpoint** page, select **Cache**.
193
+
1.In the Azure portal **CDN Endpoint** page, select **Cache**.
198
194
199
-
Select **Cache every unique URL** from the **Query string caching behavior** dropdown list.
195
+
1.Select **Cache every unique URL** from the **Query string caching behavior** dropdown list.
200
196
201
-
Select **Save**.
197
+
1.Select **Save**.
202
198
203
-
:::image type="content" source="./media/cdn-add-to-web-app/portal-select-caching-behavior.png" alt-text="Screenshot of cache rules settings for an Azure Content Delivery Network profile.":::
199
+
:::image type="content" source="./media/cdn-add-to-web-app/portal-select-caching-behavior.png" alt-text="Screenshot of cache rules settings for an Azure Content Delivery Network profile.":::
0 commit comments