Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
For more information about the add element, see the following topic on the Microsoft IIS.net Web site: Adding Dynamic Types <add>.
Adds a MIME type to the collection of dynamic MIME types.
Syntax
Attributes and Elements
The following sections describe attributes, child elements, and parent elements for this section.
Attributes
Attribute |
Description |
---|---|
enabled |
Required Boolean attribute. Specifies whether a new MIME type can use dynamic compression. The default value is true. |
mimeType |
Required string attribute. Specifies the name of the MIME type—also called the content type—that uses dynamic compression. |
Child Elements
None.
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. |
dynamicTypes |
Specifies configuration settings for dynamic compression. |
Remarks
For more information about the add element, see the following topic on the Microsoft IIS.net Web site: Adding Dynamic Types <add>.
Element Information
Configuration locations |
Machine.config ApplicationHost.config Root application Web.config Application Web.config Directory Web.config |
Requirements |
Microsoft Internet Information Services (IIS) version 7.0 |
See Also
Reference
remove Element for dynamicTypes for httpCompression [IIS Settings Schema]
clear Element for dynamicTypes for httpCompression [IIS Settings Schema]