Gets the cache properties for the object cache, the page cache, or both. The information is application-specific.

cacheGetProperties(region) → returns array

Argument Reference

region string

Lucee 4.5+ CF 10+ Properties to get information for

"" or not set - information to all default caches
object - information to "Default Object" Cache
template - information to "Default Template" Cache
query - information to "Default Query" Cache
resource - information to "Default Resource" Cache
{cache name} - information to a specific cache
  • object
  • template
  • resource
  • query

Sample code invoking the cacheGetProperties function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub