staticTypes Element for httpCompression [IIS Settings Schema]

Note

For more information about the staticTypes element, see the following topic on the Microsoft IIS.net Web site: Static Types <staticTypes>.

Specifies configuration settings for static compression.

Syntax

Attributes and Elements

The following sections describe attributes, child elements, and parent elements for this section.

Attributes

None.

Child Elements

Element

Description

add

Optional element.

Adds a MIME type to the collection of static MIME types.

remove

Optional element.

Removes a reference to a MIME type from the static MIME type collection.

clear

Optional element.

Removes all references to MIME types from the static MIME type collection.

Parent Elements

Element

Description

configuration

Specifies the root element in every configuration file that is used by IIS 7.

system.webServer

Specifies the root element in ApplicationHost.config that is the top-level section group in which this element is defined.

httpCompression

Configures HTTP compression settings for a Web server.

Remarks

For more information about the staticTypes element, see the following topic on the Microsoft IIS.net Web site: Static Types <staticTypes>.

Element Information

Configuration locations

Machine.config

ApplicationHost.config

Root level Web.config

Application level Web.config

Virtual or physical directory level Web.config

Requirements

Microsoft Internet Information Services (IIS) version 7.0

See Also

Reference

add Element for staticTypes for httpCompression [IIS Settings Schema]

clear Element for staticTypes for httpCompression [IIS Settings Schema]

remove Element for staticTypes for httpCompression [IIS Settings Schema]