Export (0) Print
Expand All
Expand Minimize

AspCache Class [IIS 7 and higher]

IIS 7.0

Configures properties related to ASP caching.

class AspCache : EmbeddedObject

This class contains no methods.

The following table lists the properties exposed by the AspCache class.

Name

Description

DiskTemplateCacheDirectory

A read/write string value that contains the name of the directory that ASP uses to store compiled ASP templates to disk when the in-memory cache overflows. The default is "%systemdrive%\inetpub\temp\ASP Compiled Templates".

EnableTypelibCache

A read/write boolean value. true if type libraries are cached on the server; otherwise, false. The default is true.

MaxDiskTemplateCacheFiles

A read/write uint32 value that specifies the maximum number of compiled ASP templates that can be stored. The default is 2000.

ScriptEngineCacheMax

A read/write uint32 value that specifies the maximum number of scripting engines that ASP pages will keep cached in memory. The default is 250.

ScriptFileCacheSize

A read/write uint32 value that specifies the number of precompiled script files to cache. If set to 0, no script files are cached. If set to 4294967295, all script files requested are cached. This property is used to tune performance, depending on the amount of available memory and the amount of script file traffic. The default is 500.

This class contains no subclasses.

Instances of this class are contained in the Cache property of the AspSection class.

Type

Description

Client

Requires IIS 7 on Windows Vista.

Server

Requires IIS 7 on Windows Server 2008.

Product

IIS 7

MOF file

WebAdministration.mof

Community Additions

ADD
Show:
© 2014 Microsoft