<cfobjectcache>

edit

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
  • size

clear

type
string, optional
edit

cache type to manipulate

  • function
  • include
  • object
  • query
  • resource
  • template

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

edit

Syntax

<cfobjectcache action="size" type="query" result="queryAppCache"/>

See also