CacheGetEngineProperties

Description

Returns the properties of the current caching engine used. In ColdFusion, you can use the following caching engines:

  • Ehcache (default cache engine)
  • JCS
  • Memcached
  • Redis
  • Custom cache plugin

Returns

A struct with a single attribute, name.

Category

Syntax

CacheGetEngineProperties()
CacheGetEngineProperties()
CacheGetEngineProperties()

See also

Example

<cfscript>
WriteDump(CacheGetEngineProperties()); // Returns the properties of the cache engine
WriteOutput("The caching engine currently used is: " & CacheGetEngineProperties().name); // Returns the name of the cache engine
</cfscript>
<cfscript> WriteDump(CacheGetEngineProperties()); // Returns the properties of the cache engine WriteOutput("The caching engine currently used is: " & CacheGetEngineProperties().name); // Returns the name of the cache engine </cfscript>
<cfscript>
       WriteDump(CacheGetEngineProperties()); // Returns the properties of the cache engine
       WriteOutput("The caching engine currently used is: " & CacheGetEngineProperties().name); // Returns the name of the cache engine
</cfscript>

Output

Get help faster and easier

New user?