Dela via


FilterEnableCache Metabase Property

Applies To: Windows Server 2003, Windows Server 2003 with SP1

The FilterEnableCache property can be set on individual filters to mark them cache friendly to HTTP.sys. Cache friendly means that the filter does not conditionally reroute URLs for /default.htm to either /default-1.htm or /default-2.htm, which would break the HTTP.sys cache. By default, filters are considered unfriendly to the HTTP.sys cache.

Attribute Name Attribute Value

XML Data Type

Boolean

WMI Data Type

Boolean

ADSI Data Type

Boolean

ABO Data Type

Boolean

ABO Metabase Identifier

MD_FILTER_ENABLE_CACHE

Attributes

NO_ATTRIBUTES

Default Value

false

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

IIS_MD_UT_SERVER

ID

2046

Configurable Locations

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

Metabase Path IIS Admin Object Type

/LM/W3SVC/Filters/filter_name

/LM/W3SVC/n/Filters/filter_name

IIsFilter

Code Example

For general code examples, see Code Examples to Configure Metabase Properties.