Lucee Function Reference

cacheremove()

removes elements from cache defined with argument ids.

Example

cacheremove(object ids,[boolean throwOnError,[string cacheName]]):void

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
ids object  Yes This can be a string list of multiple elements or an array containing the keys  
throwOnError boolean  No define if the functions throws an exception when the element does not exist (default is false)  
cacheName string  No definition of the cache used by name, when not set the "default Object Cache" defined in Lucee Administrator is used instead.