cacheCount

Returns the amount (integer) of keys stored in the cache.

cacheCount([cacheName]) → returns numeric

This function requires Lucee.  Not supported on Adobe ColdFusion, etc.

cacheCount Argument Reference

cacheName string

Definition of the cache used by name, when not set the "default Object Cache" defined in Lucee Administrator is used instead

Examples
Sample code invoking the cacheCount function


Fork me on GitHub