From 17c4e8a51564148c3b334dcbc143a83f269fa8da Mon Sep 17 00:00:00 2001 From: Remco Eissing Date: Mon, 19 Nov 2018 11:44:05 +0100 Subject: [PATCH] Update to httpCompression attributes --- .../system.webServer/httpCompression/index.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/iis/configuration/system.webServer/httpCompression/index.md b/iis/configuration/system.webServer/httpCompression/index.md index 1513993aa..31c241f3c 100644 --- a/iis/configuration/system.webServer/httpCompression/index.md +++ b/iis/configuration/system.webServer/httpCompression/index.md @@ -181,6 +181,8 @@ HTTP compression is usually available on the default installation of IIS 7 and l ### Attributes +These attributes can only be configured at server level. Configuration at a site level or lower will be ignored. + | Attribute | Description | | --- | --- | | `cacheControlHeader` | Optional string attribute.

Specifies the directive that IIS adds to the Cache-Control header that overrides the HTTP Expires header. This attribute ensures that older clients and proxy servers do not attempt to cache compressed files. To enable this setting, you must set the **sendCacheHeaders** attribute to **true**. The WWW service must be restarted before changes to this property take effect.

The default value is `max-age=86400`. | @@ -204,9 +206,9 @@ HTTP compression is usually available on the default installation of IIS 7 and l | Element | Description | | --- | --- | -| [`scheme`](scheme.md) | Optional element.

Specifies the compression scheme (Gzip or Deflate) IIS uses to compress client requests. | -| [`dynamicTypes`](dynamictypes/index.md) | Optional element.

Specifies configuration settings for dynamic compression. | -| [`staticTypes`](statictypes/index.md) | Optional element.

Specifies configuration settings for static compression. | +| [`scheme`](scheme.md) | Optional element.

Specifies the compression scheme (Gzip or Deflate) IIS uses to compress client requests. This element can only be configured at server level. | +| [`dynamicTypes`](dynamictypes/index.md) | Optional element.

Specifies configuration settings for dynamic compression. This element can be configured at site level. | +| [`staticTypes`](statictypes/index.md) | Optional element.

Specifies configuration settings for static compression. This element can be configured at site level. | ### Configuration Sample