<cfobjectcache>
Flushes an object cache or returns the current size.
This tag cannot have a body.
This tag is also supported within <cfscript>
<cfobjectcache
action=clear|size
type=function|include|object|query|resource|template
filter=object
filterIgnoreCase=string
result=string
>
| Attribute | Description | Default |
|---|---|---|
action
string, optional
|
edit
|
clear |
type
string, optional
|
edit
cache type to manipulate
|
query |
filter
object, optional
|
edit
filter for the elements to delete |
|
filterIgnoreCase
string, optional
|
edit
filter for the elements to delete |
|
result
string, optional
|
edit
name for variables for action size |
Examples
editSyntax
<cfobjectcache action="size" type="query" result="queryAppCache"/>
See also
- Cache
- Objects
- Lucee Server related Tags, Functions and Guides
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)