cacheCount

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

cacheCount([cacheName]) → returns numeric

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

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub