<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

clear

type
string, optional

cache type to manipulate

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

query

filter
object, optional

filter for the elements to delete

filterignorecase
string, optional

filter for the elements to delete

result
string, optional

name for variables for action size

Examples

Syntax

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

See also