cacheGetDefaultCacheName

Returns the default cache name for the specified type.

cacheGetDefaultCacheName(type) → returns string

This function requires Lucee.  Not supported on Adobe ColdFusion, etc.

Argument Reference

type string
Required

Cache type
Values:
  • object
  • resource
  • template
  • query

Examples
Sample code invoking the cacheGetDefaultCacheName function

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

Fork me on GitHub