AspCache Class [IIS 7 and higher]
Configures properties related to ASP caching.
Syntax
class AspCache : EmbeddedObject
Methods
This class contains no methods.
Properties
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. |
Subclasses
This class contains no subclasses.
Remarks
Instances of this class are contained in the Cache property of the AspSection class.
Inheritance Hierarchy
AspCache
Requirements
Type |
Description |
---|---|
Client |
Requires IIS 7 on Windows Vista. |
Server |
Requires IIS 7 on Windows Server 2008. |
Product |
IIS 7 |
MOF file |
WebAdministration.mof |
See Also
Reference
AspComPlus Class [IIS 7 and higher]
AspLimits Class [IIS 7 and higher]
AspSection Class [IIS 7 and higher]