defaultcache can be used for any type of data caching or object persistence. The
templatecache is used for event caching and view fragment caching. It is also important to note that the
templatecache uses the
ConcurrentSoftReferenceStorefor its objects and the
defaultcache uses the
ConcurrentStorefor its objects.
Coldbox.cfc. So let's look at how the framework loader looks at your configuration for CacheBox configuration details:
cacheboxDSL variable defined in the configuration structure?
CacheBox.cfcexist in the application's
configFilekey in the
Info The configuration DSL is exactly the same as you have seen in before with the only distinction that you can add a
configFilekey that can point to an external configuration CFC.
CacheBox.cfcdata CFC or use a configFile approach for external file loading. Pick your poison!