Exportar (0) Imprimir
Expandir Todos
Expand Minimize

HcFileExtensions Metabase Property

The HcFileExtensions indicates which file name extensions are supported by the compression scheme. Only static files with the specified file extensions are compressed by IIS. If this setting is empty, no static files are compressed.

In addition to file name extension matches, HcDoOnDemandCompression Metabase Property and HcDoStaticCompression Metabase Property must be set to true for compression to be performed.

The World Wide Web Publishing Service (WWW service) must be restarted for any changes to this property take effect.

 

Attribute Name Attribute Value

XML Data Type

MULTISZ

WMI Data Type

MULTISZ

ADSI Data Type

MULTISZ

ABO Data Type

MULTISZ

ABO Metabase Identifier

MD_HC_FILE_EXTENSIONS

Attributes

NO_ATTRIBUTES

Default Value

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

IIS_MD_UT_SERVER

ID

2238

Configurable Locations

You can configure this property at the following locations in the IIS metabase.

 

Metabase Path IIS Admin Object Type

/LM/W3SVC/Filters/Compression/gzip

/LM/W3SVC/Filters/Compression/deflate

IIsCompressionScheme

Code Example

Considera isto útil?
(1500 caracteres restantes)
Obrigado pelos seus comentários

Conteúdo da Comunidade

Adicionar
Mostrar:
© 2014 Microsoft