Skip to content

Commit faef56b

Browse files
committed
freshness review
1 parent a65dd83 commit faef56b

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

articles/cdn/cdn-troubleshoot-compression.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,26 @@
22
title: Troubleshooting file compression in Azure CDN | Microsoft Docs
33
description: Learn how to troubleshoot issues with file compression in Azure Content Delivery Network. This article covers several possible causes.
44
services: cdn
5-
documentationcenter: ''
6-
author: sohamnc
7-
manager: danielgi
8-
editor: ''
9-
5+
author: duongau
6+
manager: kumudd
107
ms.assetid: a6624e65-1a77-4486-b473-8d720ce28f8b
118
ms.service: azure-cdn
129
ms.workload: tbd
1310
ms.tgt_pltfrm: na
1411
ms.topic: troubleshooting
15-
ms.date: 01/23/2017
12+
ms.date: 02/27/2023
1613
ms.author: mazha
1714

1815
---
16+
1917
# Troubleshooting CDN file compression
18+
2019
This article helps you troubleshoot issues with [CDN file compression](cdn-improve-performance.md).
2120

22-
If you need more help at any point in this article, you can contact the Azure experts on [the MSDN Azure and the Stack Overflow forums](https://azure.microsoft.com/support/forums/). Alternatively, you can also file an Azure support incident. Go to the [Azure Support site](https://azure.microsoft.com/support/options/) and click **Get Support**.
21+
If you need more help at any point in this article, you can contact the Azure experts on [the MSDN Azure and the Stack Overflow forums](https://azure.microsoft.com/support/forums/). Alternatively, you can also file an Azure support incident. Go to the [Azure Support site](https://azure.microsoft.com/support/options/) and select **Get Support**.
2322

2423
## Symptom
24+
2525
Compression for your endpoint is enabled, but files are being returned uncompressed.
2626

2727
> [!TIP]
@@ -32,14 +32,16 @@ Compression for your endpoint is enabled, but files are being returned uncompres
3232
>
3333
3434
## Cause
35+
3536
There are several possible causes, including:
3637

37-
* The requested content is not eligible for compression.
38-
* Compression is not enabled for the requested file type.
39-
* The HTTP request did not include a header requesting a valid compression type.
38+
* The requested content isn't eligible for compression.
39+
* Compression isn't enabled for the requested file type.
40+
* The HTTP request didn't include a header requesting a valid compression type.
4041
* Origin is sending chunked content.
4142

4243
## Troubleshooting steps
44+
4345
> [!TIP]
4446
> As with deploying new endpoints, CDN configuration changes take some time to propagate through the network. Usually, changes are applied within 90 minutes. If this is the first time you've set up compression for your CDN endpoint, you should consider waiting 1-2 hours to be sure the compression settings have propagated to the POPs.
4547
>
@@ -64,7 +66,7 @@ First, we should do a quick sanity check on the request. You can use your brows
6466
>
6567
>
6668
67-
Navigate to your endpoint in the [Azure portal](https://portal.azure.com) and click the **Configure** button.
69+
Navigate to your endpoint in the [Azure portal](https://portal.azure.com) and select the **Configure** button.
6870

6971
* Verify compression is enabled.
7072
* Verify the MIME type for the content to be compressed is included in the list of compressed formats.
@@ -77,7 +79,7 @@ Navigate to your endpoint in the [Azure portal](https://portal.azure.com) and cl
7779
>
7880
>
7981
80-
Navigate to your endpoint in the [Azure portal](https://portal.azure.com) and click the **Manage** button. The supplemental portal will open. Hover over the **HTTP Large** tab, then hover over the **Cache Settings** flyout. Click **Compression**.
82+
Navigate to your endpoint in the [Azure portal](https://portal.azure.com) and select the **Manage** button. The supplemental portal opens. Hover over the **HTTP Large** tab, then hover over the **Cache Settings** flyout. Select **Compression**.
8183

8284
* Verify compression is enabled.
8385
* Verify the **File Types** list contains a comma-separated list (no spaces) of MIME types.
@@ -91,7 +93,7 @@ Navigate to your endpoint in the [Azure portal](https://portal.azure.com) and cl
9193
>
9294
>
9395
94-
Using your browser's developer tools, check the response headers to ensure the file is cached in the region where it is being requested.
96+
Using your browser's developer tools, check the response headers to ensure the file is cached in the region where it's being requested.
9597

9698
* Check the **Server** response header. The header should have the format **Platform (POP/Server ID)**, as seen in the following example.
9799
* Check the **X-Cache** response header. The header should read **HIT**.
@@ -110,7 +112,7 @@ To be eligible for compression, a file must meet the following size requirements
110112
* Smaller than 3 MB
111113

112114
### Check the request at the origin server for a **Via** header
113-
The **Via** HTTP header indicates to the web server that the request is being passed by a proxy server. Microsoft IIS web servers by default do not compress responses when the request contains a **Via** header. To override this behavior, perform the following:
115+
The **Via** HTTP header indicates to the web server that the request is being passed by a proxy server. Microsoft IIS web servers by default don't compress responses when the request contains a **Via** header. To override this behavior, perform the following:
114116

115117
* **IIS 6**: [Set HcNoCompressionForProxies="FALSE" in the IIS Metabase properties](/previous-versions/iis/6.0-sdk/ms525390(v=vs.90))
116118
* **IIS 7 and up**: [Set both **noCompressionForHttp10** and **noCompressionForProxies** to False in the server configuration](https://www.iis.net/configreference/system.webserver/httpcompression)

0 commit comments

Comments
 (0)