CacheRemoveAll

this function is deprecated, use instead cacheClear. Removes all elements from the cache

CacheRemoveAll( [ cacheName ] )

Returns: Number

Argument Description
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

<cfset cacheremoveall_obj = structnew()> 
<cfset cacheremoveall_obj.name = 'man'>
<cfset cachePut('cacheremoveall_obj',cacheremoveall_obj,createTimespan(0,0,0,30),createTimespan(0,0,0,30),'region_cachename')> 
<cfset cacheRemoveAll('cacheremoveall_obj')>

See also