CacheDelete()

Deletes a single element from the cache.

CacheDelete( id=object, throwOnError=boolean, cacheName=string );

Returns: void

Argument Description
id
object, required

the id of the element to delete, can also contain a "," (not used as separator)

Alias: name, key

throwOnError
boolean, optional

define if the functions throws an exception when the element does not exist.

Default is 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.

Alias: cache, region

Examples

There are currently no examples for this function.

See also