Blog

Brad Wood

August 01, 2012

Spread the word


Share your thoughts

Trying to decide whether to use ColdFusion's EHCache implemention or CacheBox? You don't have to choose one or the other! CacheBox is a cache aggregator, which means it lets you use the same standard API to interact with any number of different cache providers-- including EHCache. 

To configure an EHCache provider in CacheBox (assumming your using Adobe CF 9.0.1 and up, of course) add the following struct to the "caches" object in your CacheBox config.

myCoolCache = {
    provider = "coldbox.system.cache.providers.CFProvider"
}


That's it!

Now you can grab that cache by name from CacheBox and start using it:

cacheBox.getCache("myCoolCache").set("myKey","myValue");
cacheBox.getCache("myCoolCache").get("myKey");


More info here: http://wiki.coldbox.org/wiki/CacheBox.cfm#CF_Providers

P.S. Please note that you can configure more than 1 CFProvider cache engine in your applications that can talk to more than one referenced ColdFusion (EHCache) custom cache. Just use the cacheName property to tell the CFProvider which EHCache instance to use.

Add Your Comment

Recent Entries

BoxLang AI 3.8.0: OAuth for MCP, and Memory That Knows Who's Talking

BoxLang AI 3.8.0: OAuth for MCP, and Memory That Knows Who's Talking

Ortus Solutions today announces BoxLang AI 3.8.0, the release that makes multi-user AI applications a first-class citizen. Your agents can now sign in to OAuth-protected MCP servers on behalf of each person who talks to them, and every memory type keeps each user and conversation apart. Provider settings finally behave the way the docs always said, and a batch of MCP server fixes lands with it.

Luis Majano
Luis Majano
December 01, 2026
November 2026 Roundup: What’s New Across Ortus Solutions & BoxLang

November 2026 Roundup: What’s New Across Ortus Solutions & BoxLang

From BoxLang 1.19 and BoxLang AI 3.7 to new migration tooling, QA insights, hands-on AI development with students, and community events around the world, this month continued to show how the different parts of our ecosystem connect.

We also officially launched Into the Box 2027 in Orlando and opened our Ortus Year-End Offers, giving teams new ways to start planning their development, modernization, and training goals for the year ahead.

Here’s everything you may have missed in November.

Victor Campos
Victor Campos
December 01, 2026