RE: [coldbox:16531] Coldbox 3.5.2 - Blackhole Cache in dev environment

You can specify an external CacheBox config file in your main ColdBox config. Then, if you wanted, you could have a devCacheBoxConfig.cfc and prodCacheBoxConfig.cfc and just switch which one gets loaded.

cacheBox = {
configFile = “mypath.config.CacheBoxConfig”
};

http://wiki.coldbox.org/wiki/CacheBox.cfm#Programmatic_Configuration

If all you’re doing is changing the provider, I would personally just overwrite that part of the config struct in your development override. It’s only necessary to overwrite the parts you want to be different, and you don’t duplicate any config that way.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com