Skip to content

Commit 56bec0f

Browse files
committed
freshness review
1 parent 13f596a commit 56bec0f

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

articles/cdn/cdn-manage-expiration-of-cloud-service-content.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,15 @@ description: Learn how to manage expiration of Azure Web Apps/Cloud Services, AS
44
services: cdn
55
documentationcenter: .NET
66
author: duongau
7-
manager: danielgi
8-
editor: ''
9-
7+
manager: kumudd
108
ms.assetid: bef53fcc-bb13-4002-9324-9edee9da8288
119
ms.service: azure-cdn
1210
ms.workload: media
1311
ms.tgt_pltfrm: na
1412
ms.devlang: csharp
1513
ms.custom: devx-track-csharp
1614
ms.topic: how-to
17-
ms.date: 02/15/2018
15+
ms.date: 02/27/2023
1816
ms.author: duau
1917

2018
---
@@ -24,7 +22,7 @@ ms.author: duau
2422
> * [Azure Blob storage](cdn-manage-expiration-of-blob-content.md)
2523
>
2624
27-
Files from publicly accessible origin web servers can be cached in Azure Content Delivery Network (CDN) until their time-to-live (TTL) elapses. The TTL is determined by the `Cache-Control` header in the HTTP response from the origin server. This article describes how to set `Cache-Control` headers for the Web Apps feature of Microsoft Azure App Service, Azure Cloud Services, ASP.NET applications, and Internet Information Services (IIS) sites, all of which are configured similarly. You can set the `Cache-Control` header either by using configuration files or programmatically.
25+
Files from publicly accessible origin web servers can be cached in Azure Content Delivery Network (CDN) until their time-to-live (TTL) elapses. The TTL gets determined by the `Cache-Control` header in the HTTP response from the origin server. This article describes how to set `Cache-Control` headers for the Web Apps feature of Microsoft Azure App Service, Azure Cloud Services, ASP.NET applications, and Internet Information Services (IIS) sites, all of which are configured similarly. You can set the `Cache-Control` header either by using configuration files or programmatically.
2826

2927
You can also control cache settings from the Azure portal by setting [CDN caching rules](cdn-caching-rules.md). If you create one or more caching rules and set their caching behavior to **Override** or **Bypass cache**, the origin-provided caching settings discussed in this article are ignored. For information about general caching concepts, see [How caching works](cdn-how-caching-works.md).
3028

@@ -61,7 +59,7 @@ The preferred method for setting a web server's `Cache-Control` header is to use
6159

6260
![CDN global caching rules example](./media/cdn-manage-expiration-of-cloud-service-content/cdn-global-caching-rules-example.png)
6361

64-
This global caching rule sets a cache duration of one hour and affects all requests to the endpoint. It overrides any `Cache-Control` or `Expires` HTTP headers that are sent by the origin server specified by the endpoint.
62+
This global caching rule sets a cache duration of one hour and affects all requests to the endpoint. It overrides any `Cache-Control` or `Expires` HTTP headers that get sent by the origin server specified by the endpoint.
6563

6664
1. Select **Save**.
6765

@@ -87,7 +85,7 @@ For static content, such as images and style sheets, you can control the update
8785
The **ApplicationHost.config** file is the root file of the IIS configuration system. The configuration settings in an **ApplicationHost.config** file affect all applications on the site, but are overridden by the settings of any **Web.config** files that exist for a web application.
8886

8987
### Using Web.config files
90-
With a **Web.config** file, you can customize the way your entire web application or a specific directory on your web application behaves. Typically, you have at least one **Web.config** file in the root folder of your web application. For each **Web.config** file in a specific folder, the configuration settings affect everything in that folder and its subfolders, unless they are overridden at the subfolder level by another **Web.config** file.
88+
With a **Web.config** file, you can customize the way your entire web application or a specific directory on your web application behaves. Typically, you have at least one **Web.config** file in the root folder of your web application. For each **Web.config** file in a specific folder, the configuration settings affect everything in that folder and its subfolders, unless they're overridden at the subfolder level by another **Web.config** file.
9189

9290
For example, you can set a `<clientCache>` element in a **Web.config** file in the root folder of your web application to cache all static content on your web application for three days. You can also add a **Web.config** file in a subfolder with more variable content (for example, `\frequent`) and set its `<clientCache>` element to cache the subfolder's content for six hours. The net result is that content on the entire web site is cached for three days, except for any content in the `\frequent` directory, which is cached for only six hours.
9391

0 commit comments

Comments
 (0)