default
template
default
cache can be used for any type of data caching or object persistence. The template
cache is used for event caching and view fragment caching. It is also important to note that the template
cache uses the ConcurrentSoftReferenceStore
for its objects and the default
cache uses the ConcurrentStore
for its objects.Coldbox.cfc
. So let's look at how the framework loader looks at your configuration for CacheBox configuration details:cachebox
DSL variable defined in the configuration structure?CacheBox.cfc
exist in the application's config
folder?/coldbox/system/web/config/CacheBox.cfc
configFile
key in the cacheBox
DSL structure?Info The configuration DSL is exactly the same as you have seen in before with the only distinction that you can add aconfigFile
key that can point to an external configuration CFC.
CacheBox.cfc
data CFC or use a configFile approach for external file loading. Pick your poison!