[This is preliminary documentation and subject to change]

HcDoDynamicCompression

This metabase property specifies whether responses to requests for dynamic content (such as scripts in ASP pages and ISAPI extensions) will be compressed. At the global level, HcDoDynamicCompression indicates that all dynamic content will be compressed as it is requested.

For individual compression schemes, HcDoDynamicCompression specifies whether that particular compression scheme supports compression of dynamic content.

important Important    Because dynamic content is by definition changeable, IIS does not cache compressed versions of dynamic output. Thus, if dynamic compression is enabled, each and every response to requests for dynamic content will have to be compressed each time. Dynamic compression consumes considerable CPU time and memory resources, and it should only be used on servers that have slow networks, but CPU power to spare.

Because HcDoDynamicCompression is not inheritable, HcDoDynamicCompression must be set to TRUE at both the global level and the individual scheme level, in order for dynamic compression to actually be enabled for a server.

If you change the value of this property at the individual compression scheme level, the Web service will need to be restarted for the change to take effect.

Attribute NameAttribute Value
Data TypeBOOL
AttributesNO_ATTRIBUTES
Default ValueFALSE
MetaFlagsExCACHE_PROPERTY_MODIFIED
User TypeIIS_MD_UT_SERVER
StartingNumber
EndingNumber0
ID2213

Access Locations

This property is accessible at the following locations:

Metabase PathIIS Admin Object Type
/LM/W3SVC/Filters/Compression/gzipIIsCompressionScheme
/LM/W3SVC/Filters/Compression/ParametersIIsCompressionSchemes

IIS Admin Base Object Information

The following table lists additional information required only for code that uses the IIS Admin Base Object.

Metabase identifier
MD_HC_DO_DYNAMIC_COMPRESSION
Data typeBOOL
User typeIIS_MD_UT_SERVER

© 1997-2001 Microsoft Corporation. All rights reserved.