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

Fork me on GitHub