Udostępnij za pośrednictwem


CacheISAPI Metabase Property

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

The CacheISAPI property indicates whether ISAPI extensions are cached in memory after first use. If the value of this property is set to true, ISAPI extensions, once loaded, remain in the cache until the server is stopped. If the value is set to false, extensions are unloaded from memory after the ISAPI extension is no longer in use.

ISAPI extensions are cached or not cached based on the value of this property at the time they were loaded into memory for use. Thus, if this property is changed after an extension has been loaded and cached, the change will have no effect on that extension until the Web server is restarted.

Important

There are severe performance implications to setting the value of this property to false. Also, some extensions cannot work properly when this property is set to false.

Attribute Name Attribute Value

XML Data Type

Boolean

WMI Data Type

Boolean

ADSI Data Type

Boolean

ABO Data Type

Boolean

ABO Metabase Identifier

MD_CACHE_EXTENSIONS

Attributes

INHERIT

Default Value

true

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

IIS_MD_UT_FILE

ID

6034

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/physical_directory_name /LM/W3SVC/n/virtual_directory_name/physical_directory_name

IIsWebDirectory

Code Example

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