CacheGet

Gets an object that is stored in the cache.

CacheGet( id [, throwWhenNotExist [, cacheName ] ] )

Returns: object

Argument Description Default
id
string, required

name of the element to return

throwWhenNotExist
object, optional

define if the functions throws a exception when the element does not exist (default is false).

false

cacheName
string, optional

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

Examples

There are currently no examples for this function.

See also