Tags · Functions · Objects
Lucee Function Reference
Choose a function:

Function CACHECLEAR

Flushes the cache

Example

cacheclear([string filter,[string cacheName]]):number

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
filter string  No You can specify a key filter for the elements in the cache to flush, the filter follow the same rules as for cfdirectory-filter  
cacheName string  No definition of the cache used by name, when not set the "default Object Cache" defined in Lucee Administrator is used instead.