Script Engine Caching

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

ASP code is compiled and executed by Microsoft® Visual Basic® Scripting Edition (VBScript) by default. To improve performance and scalability of ASP code, ASP creates script engines. ASP script engines contain the object and marshalling data that VBScript.dll needs to execute the request. Each entry in the ASP script file cache can point to one or more entries in the ASP script engine cache.

Table 7.7 describes the preferred or ideal values for the ASP Script Engine Cache counter. For more information about IIS 6.0 counters, see the Performance Counters Reference. For information about changing the settings for caching ASP script engines, see Configuring ASP Script Engine Caching.

Table 7.7 Preferred Value for ASP Script Engine Cache Counter

Object\Counter Preferred or Ideal Value

Active Server Pages\Script Engines Cached

The value of this counter should be greater than or equal to the value of Active Server Pages\Requests Executing. If this number is low, the server might not have enough memory to store the script engines in the cache. Performance and scalability will suffer because the server must create script engines often.