|
ASPCache Object |
|
See Also: |
Initiates a background flush operation. This removes items that have not been used in a while or that have expired.
VBScript:
JScript:
| Cache | An ASPCache object. |
Flush() enables developers to specify when a flush
occurs. Normally, the flush thread runs every FlushInterval
milliseconds
(if flushing is enabled
),
or when the number of items in the cache exceeds the MaxSize.
The background thread takes care of flushing, item expiration, and
shrinking. For flushing and expiration, the background thread runs at
below normal priority, so responses to ASP requests will never be
slowed down. When the number of items in the cache exceeds the MaxSize, the
background thread is bumped up to normal priority, to ensure that
resources are removed promptly, even if the web server is under heavy load.
For more information, see the topics Flushing, Expiration, and Shrinking.