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/frontdoor/standard-premium/how-to-cache-purge-PS.md
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,17 @@
1
1
---
2
-
title: 'Cache purging - Azure Front Door - PowerShell'
3
-
description: This article helps you understand how to purge cache on an Azure Front Door Standard and Premium profile using PowerShell.
2
+
title: 'Cache purging - Azure Front Door - Azure PowerShell'
3
+
description: This article helps you understand how to purge cache on an Azure Front Door Standard and Premium profile using Azure PowerShell.
4
4
services: frontdoor
5
5
author: duongau
6
6
manager: KumudD
7
7
ms.service: frontdoor
8
8
ms.topic: how-to
9
9
ms.workload: infrastructure-services
10
-
ms.date: 08/31/2022
10
+
ms.date: 09/20/2022
11
11
ms.author: duau
12
12
---
13
13
14
-
# Cache purging in Azure Front Door
14
+
# Cache purging in Azure Front Door with Azure PowerShell
15
15
16
16
Azure Front Door caches assets until the asset's time-to-live (TTL) expires. Whenever a client requests an asset with expired TTL, the Azure Front Door environment retrieves a new updated copy of the asset to serve the request and then stores the refreshed cache.
17
17
@@ -22,9 +22,9 @@ Best practice is to make sure your users always obtain the latest copy of your a
22
22
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
23
23
- Azure PowerShell installed locally or Azure Cloud Shell
* Review [Caching with Azure Front Door](../front-door-caching.md) to understand how caching works.
30
30
* Have a functioning Azure Front Door profile. Refer [Create a Front Door - PS](../create-front-door-powershell.md)to learn how to create one.
@@ -36,8 +36,10 @@ Run [Clear-AzFrontDoorCdnEndpointContent](/powershell/module/az.cdn/clear-azfron
36
36
* Name of the Azure Front Door profile within the resource group with assets you want to purge
37
37
* Endpoints with assets you want to purge
38
38
* Domains/Subdomains with assets you want to purge
39
-
> [!IMPORTANT]
40
-
> Cache purge for wildcard domains is not supported, you have to specify a subdomain for cache purge for a wildcard domain. You can add as many single-level subdomains of the wildcard domain. For example, for the wildcard domain `*.afdxgatest.azfdtest.xyz`, you can add subdomains in the form of `contoso.afdxgatest.azfdtest.xyz` or `cart.afdxgatest.azfdtest.xyz` and so on. For more information, see [Wildcard domains in Azure Front Door](../front-door-wildcard-domain.md).
39
+
40
+
> [!IMPORTANT]
41
+
> Cache purge for wildcard domains is not supported, you have to specify a subdomain for cache purge for a wildcard domain. You can add as many single-level subdomains of the wildcard domain. For example, for the wildcard domain `*.afdxgatest.azfdtest.xyz`, you can add subdomains in the form of `contoso.afdxgatest.azfdtest.xyz` or `cart.afdxgatest.azfdtest.xyz` and so on. For more information, see [Wildcard domains in Azure Front Door](../front-door-wildcard-domain.md).
42
+
41
43
* The path to the content to be purged.
42
44
* These formats are supported in the lists of paths to purge:
43
45
***Single path purge**: Purge individual assets by specifying the full path of the asset (without the protocol and domain), with the file extension, for example, /pictures/strasbourg.png.
0 commit comments