From 3855738688b306daf0839a731306c0fdff9f0761 Mon Sep 17 00:00:00 2001 From: Epic-Santiago <44099686+Epic-Santiago@users.noreply.github.com> Date: Thu, 6 Feb 2020 16:36:14 -0800 Subject: [PATCH 1/2] Update index.md minFileSizeForComp is incorrectly described as being measured in kilobytes but it is actually bytes. --- iis/configuration/system.webServer/httpCompression/index.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/iis/configuration/system.webServer/httpCompression/index.md b/iis/configuration/system.webServer/httpCompression/index.md index 199a289a6..64202ea57 100644 --- a/iis/configuration/system.webServer/httpCompression/index.md +++ b/iis/configuration/system.webServer/httpCompression/index.md @@ -53,7 +53,8 @@ Each of these two compression schemes can be enabled using the `` eleme | IIS 10.0 | The `` element was not modified in IIS 10.0. | | IIS 8.5 | The `staticCompressionIgnoreHitFrequency` attribute was added in IIS 8.5. | | IIS 8.0 | The `` element was not modified in IIS 8.0. | -| IIS 7.5 | In IIS 7.5, the default value for the `minFileSizeForComp` attribute has been changed, and the `dynamicCompressionBufferLimit` attribute was added. | +| IIS 7.5 | In IIS 7.5, the default value for the ` +` attribute has been changed, and the `dynamicCompressionBufferLimit` attribute was added. | | IIS 7.0 | The `` element was introduced in IIS 7.0. | | IIS 6.0 | The `` element replaces the following IIS 6.0 metabase properties:
  • HcCacheControlHeader
  • HcCompressionDirectory
  • HcDoDiskSpaceLimiting
  • HcExpiresHeader
  • HcMaxDiskSpaceUsage
  • HcMinFileSizeForComp
  • HcNoCompressionForHttp10
  • HcNoCompressionForProxies
  • HcNoCompressionForRange
  • HcSendCacheHeaders
| @@ -186,7 +187,7 @@ HTTP compression is usually available on the default installation of IIS 7 and l | `dynamicCompressionEnableCpuUsage` | Optional uint attribute.

Specifies the percentage of CPU utilization below which dynamic compression will be enabled. The value must be between 0 and 100. Average CPU utilization is calculated every 30 seconds.

**Note:** This attribute acts as a lower CPU limit below which dynamic compression is turned on. When CPU utilization rises above the value specified in the **dynamicCompressionDisableCpuUsage** attribute, dynamic compression will be disabled.

The default value is `50`. | | `expiresHeader` | Optional string attribute.

Specifies the content of the HTTP Expires header that is sent with all requested compressed files, together with the Cache-Control header specified in the **cacheControlHeader** attribute. This combination of headers ensures that older clients and proxy servers do not try to cache compressed files. To enable this setting, you must set the **sendCacheHeaders** attribute to **true**. The World Wide Web Publishing Service (WWW service) must be restarted before changes to this property take effect.

The default value is `Wed, 01 Jan 1997 12:00:00 GMT`. | | `maxDiskSpaceUsage` | Optional uint attribute.

Specifies the number of megabytes of disk space that compressed files can occupy in the compression directory. When the space used by compressed files exceeds 90 percent of the value in this attribute, IIS deletes the least recently used files until a 90-percent usage level is reached.

**Note:** In IIS 6.0, this limit was expressed in bytes; in IIS 7, it is expressed in megabytes. In IIS 7 the limit is applied per application pool.

The default value is `100`. | -| `minFileSizeForComp` | Optional uint attribute.

Specifies the minimum number of kilobytes a file must contain in order to use on-demand compression.

The default value for IIS 7.5 is `2700`; for IIS 7.0 the default value was `256`. | +| `minFileSizeForComp` | Optional uint attribute.

Specifies the minimum number of bytes a file must contain in order to use on-demand compression.

The default value for IIS 7.5 is `2700`; for IIS 7.0 the default value was `256`. | | `noCompressionForHttp10` | Optional Boolean attribute.

Specifies whether compression is disabled for requests that contain an HTTP 1.0 version number.

**Note:** Some HTTP 1.0 clients do not handle the caching of compressed objects correctly. You can use this setting to avoid returning a compressed file to a client that cannot decompress it.

The default value is `true`. | | `noCompressionForProxies` | Optional Boolean attribute.

Specifies whether the HTTP 1.1 response is disabled for compression requests that come through proxy servers.

**Note:** Some HTTP proxy servers do not handle the caching of compressed objects correctly. You can use this setting to avoid returning a compressed file to a proxy server that cannot decompress it.

The default value is `true`. | | `noCompressionForRange` | Optional Boolean attribute.

Specifies whether compression is disabled for HTTP requests that include the Range header.

**Note:** Some clients cannot handle range requests correctly. You can use this setting to avoid returning a compressed file to a client that cannot decompress it.

The default value is `true`. | From 5a8f88831636cdc1650feff0413d47b501d80a2a Mon Sep 17 00:00:00 2001 From: Epic-Santiago <44099686+Epic-Santiago@users.noreply.github.com> Date: Thu, 6 Feb 2020 16:41:00 -0800 Subject: [PATCH 2/2] Update index.md Corrected a mistake in my previous edit. --- iis/configuration/system.webServer/httpCompression/index.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/iis/configuration/system.webServer/httpCompression/index.md b/iis/configuration/system.webServer/httpCompression/index.md index 64202ea57..124700d29 100644 --- a/iis/configuration/system.webServer/httpCompression/index.md +++ b/iis/configuration/system.webServer/httpCompression/index.md @@ -53,8 +53,7 @@ Each of these two compression schemes can be enabled using the `` eleme | IIS 10.0 | The `` element was not modified in IIS 10.0. | | IIS 8.5 | The `staticCompressionIgnoreHitFrequency` attribute was added in IIS 8.5. | | IIS 8.0 | The `` element was not modified in IIS 8.0. | -| IIS 7.5 | In IIS 7.5, the default value for the ` -` attribute has been changed, and the `dynamicCompressionBufferLimit` attribute was added. | +| IIS 7.5 | In IIS 7.5, the default value for the `minFileSizeForComp` attribute has been changed, and the `dynamicCompressionBufferLimit` attribute was added. | | IIS 7.0 | The `` element was introduced in IIS 7.0. | | IIS 6.0 | The `` element replaces the following IIS 6.0 metabase properties:
  • HcCacheControlHeader
  • HcCompressionDirectory
  • HcDoDiskSpaceLimiting
  • HcExpiresHeader
  • HcMaxDiskSpaceUsage
  • HcMinFileSizeForComp
  • HcNoCompressionForHttp10
  • HcNoCompressionForProxies
  • HcNoCompressionForRange
  • HcSendCacheHeaders
|