-
Notifications
You must be signed in to change notification settings - Fork 320
Update to httpCompression attributes #273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
17c4e8a
e0fe4fd
af79e34
5fead6c
57ea2ea
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. <br><br>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. <br><br>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. <br><br>Specifies the compression scheme (Gzip or Deflate) IIS uses to compress client requests. | | ||
| [`dynamicTypes`](dynamictypes/index.md) | Optional element. <br><br>Specifies configuration settings for dynamic compression. | | ||
| [`staticTypes`](statictypes/index.md) | Optional element. <br><br>Specifies configuration settings for static compression. | | ||
| [`scheme`](scheme.md) | Optional element. <br><br>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. <br><br>Specifies configuration settings for dynamic compression. For IIS 10.0 and later, can only be configured at the site level. Versions prior to IIS 10.0, can only be configured at the server level. | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this sentence "For IIS 10.0 and later, can only be configured at the site level. Versions prior to IIS 10.0, can only be configured at the server level" indicates that I suggest we change it to "For IIS versions prior to IIS 10.0, can only be configured at the server level. For IIS 10.0 and later, can also be configured at the site level."
Rick-Anderson marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| [`staticTypes`](statictypes/index.md) | Optional element. <br><br>Specifies configuration settings for static compression. For IIS 10.0 and later, can only be configured at the site level. Versions prior to IIS 10.0, can only be configured at the server level. | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Similarly, here we should say "For IIS versions prior to IIS 10.0, can only be configured at the server level. For IIS 10.0 and later, can also be configured at the site level."
Rick-Anderson marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
### Configuration Sample | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.