Guys Please help me im beginner in coldbox this cache issue really frustrating.
Thanks
Coldfusion Administration
Coldbox.cfc
function development(){
coldbox.debugPassword = “”;
coldbox.debugMode = true;
coldbox.reinitPassword = “”;
coldbox.handlerCaching = false;
coldbox.handlersIndexAutoReload = true;
coldbox.eventCaching = false;
}
Cachbox.cfc
defaultCache = {
objectDefaultTimeout = 0.1, // 120, ← Default two hours default
objectDefaultLastAccessTimeout = 30, //30 minutes idle time
useLastAccessTimeouts = true,
reapFrequency = 2,
freeMemoryPercentageThreshold = 0,
evictionPolicy = “LRU”,
evictCount = 1,
maxObjects = 300,
objectStore = “ConcurrentStore”, //guaranteed objects
coldboxEnabled = true
},
// Register all the custom named caches you like here
caches = {
// Named cache for all coldbox event and view template caching
template = {
provider = “coldbox.system.cache.providers.CacheBoxColdBoxProvider”,
properties = {
objectDefaultTimeout = 0.1, // 120, ← Default
objectDefaultLastAccessTimeout = 30,
useLastAccessTimeouts = true,
reapFrequency = 2,
freeMemoryPercentageThreshold = 0,
evictionPolicy = “LRU”,
evictCount = 2,
maxObjects = 300,
objectStore = “ConcurrentSoftReferenceStore” //memory sensitive