cacheRegionExists

Checks if the cache region exists.

cacheRegionExists(region); → returns boolean

cacheRegionExists Argument Reference

region
Required

Name of the cache region.

Compatibility

Lucee:

DEPRECATED since version 5

Examples sample code invoking the cacheRegionExists function


Tag Syntax

Checking to see if the region is present in the cache

<cfif NOT cacheRegionExists('testregion')>
    <cfset cacheRegionNew('testregion')>
</cfif>

Fork me on GitHub