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”

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.



ColdBox Platform Evangelist
Ortus Solutions, Corp

ColdBox Platform: