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

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

 Adobe

Get help faster and easier

New user?

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online