내보내기(0) 인쇄
모두 확장
확장 최소화

DoStaticCompression Metabase Property

업데이트 날짜: 2005년 8월

적용 대상: Windows Server 2003, Windows Server 2003 with SP1

The DoStaticCompression property performs the same function as the global HcDoStaticCompression Metabase Property property, but is used for enabling or disabling static content compression at the individual site or site element level.

Before you can use DoStaticCompression to customize compression at the site or site element level, at least one compression scheme (gzip or deflate) must be enabled in the HcDoStaticCompression property at the IIsCompressionScheme level. This setting determines which compression schemes IIS will support for static content: gzip, deflate, or both.

You can either enable compression of static content server-wide and then disable it at specific locations, or you can disable compression of static content server-wide and then enable it only at the locations you specify. For more information about these two approaches, see HcDoStaticCompression Metabase Property.

 

Attribute Name Attribute Value

XML Data Type

Boolean

WMI Data Type

Boolean

ADSI Data Type

Boolean

ABO Data Type

Boolean

ABO Metabase Identifier

MD_HC_DO_NAMESPACE_STATIC_COMPRESSION

Attributes

INHERIT

Default Value

false

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

IIS_MD_UT_FILE

ID

2256

Configurable Locations

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

 

Metabase Path IIS Admin Object Type

/LM/W3SVC/n/ROOT

/LM/W3SVC/n/ROOT/virtual_directory_name

IIsWebVirtualDir

/LM/W3SVC/n

IIsWebServer

/LM/W3SVC

IIsWebService

/LM/W3SVC/n/ROOT/file_name

/LM/W3SVC/n/ROOT/virtual_directory_name/file_name

IIsWebFile

/LM/W3SVC/n/ROOT/physical_directory_name

/LM/W3SVC/n/virtual_directory_name/physical_directory_name

IIsWebDirectory

Code Example

이 정보가 도움이 되었습니까?
(1500자 남음)
의견을 주셔서 감사합니다.

커뮤니티 추가 항목

추가
Microsoft는 MSDN 웹 사이트에 대한 귀하의 의견을 이해하기 위해 온라인 설문 조사를 진행하고 있습니다. 참여하도록 선택하시면 MSDN 웹 사이트에서 나가실 때 온라인 설문 조사가 표시됩니다.

참여하시겠습니까?
표시:
© 2014 Microsoft