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()

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>

Output

output

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy