AspCache Class
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 | - IIS 7.0 on Windows Vista - IIS 7.5 on Windows 7 - IIS 8.0 on Windows 8 - IIS 10.0 on Windows 10 |
Server | - IIS 7.0 on Windows Server 2008 - IIS 7.5 on Windows Server 2008 R2 - IIS 8.0 on Windows Server 2012 - IIS 8.5 on Windows Server 2012 R2 - IIS 10.0 on Windows Server 2016 |
Product | - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0 |
MOF file | WebAdministration.mof |
See Also
AspComPlus Class
AspLimits Class
AspSection Class
AspSession Class
EmbeddedObject Class