cacheKeyExists

Returns true/false whether the cache contains an element with the specified keyname.

cacheKeyExists(key [, cacheName]) → returns boolean

This function requires Lucee. Not supported on Adobe ColdFusion.

cacheKeyExists Argument Reference

key string
Required

Key to check

cacheName string

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

Compatibility

Lucee:

DEPRECATED since version 4.5 Use CacheIdExists instead

Fork me on GitHub