Deletes a single element from the cache.

cacheDelete(id [, throwOnError] [, cacheName]) → returns void

This function requires Lucee. Not supported on Adobe ColdFusion.

cacheDelete Argument Reference

id string

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

throwOnError boolean

Define if the functions throws an exception when the element does not exist (default is false)

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