-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Updated all skeletons to more ColdBox 7 goodness
- Loading branch information
Showing
11 changed files
with
376 additions
and
217 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# Changelog | ||
|
||
## v3.1.0 | ||
|
||
- Updated all skeletons to more ColdBox 7 goodness | ||
|
||
## v3.0.0 | ||
|
||
- Updates for ColdBox 7 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,73 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
/** | ||
* CacheBox Configuration File | ||
*/ | ||
component{ | ||
component { | ||
/** | ||
* Configure CacheBox for ColdBox Application Operation | ||
*/ | ||
function configure(){ | ||
// The CacheBox configuration structure DSL | ||
/** | ||
* -------------------------------------------------------------------------- | ||
* CacheBox Configuration (https://cachebox.ortusbooks.com) | ||
* -------------------------------------------------------------------------- | ||
*/ | ||
cacheBox = { | ||
// LogBox config already in coldbox app, not needed | ||
// logBoxConfig = "coldbox.system.web.config.LogBox", | ||
// The defaultCache has an implicit name "default" which is a reserved cache name | ||
// It also has a default provider of cachebox which cannot be changed. | ||
// All timeouts are in minutes | ||
defaultCache = { | ||
objectDefaultTimeout = 120, //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 | ||
/** | ||
* -------------------------------------------------------------------------- | ||
* Default Cache Configuration | ||
* -------------------------------------------------------------------------- | ||
* The defaultCache has an implicit name "default" which is a reserved cache name | ||
* It also has a default provider of cachebox which cannot be changed. | ||
* All timeouts are in minutes | ||
*/ | ||
defaultCache : { | ||
objectDefaultTimeout : 120, // two hours default | ||
objectDefaultLastAccessTimeout : 30, // 30 minutes idle time | ||
useLastAccessTimeouts : true, | ||
reapFrequency : 5, | ||
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 = 120, | ||
objectDefaultLastAccessTimeout = 30, | ||
useLastAccessTimeouts = true, | ||
freeMemoryPercentageThreshold = 0, | ||
reapFrequency = 2, | ||
evictionPolicy = "LRU", | ||
evictCount = 2, | ||
maxObjects = 300, | ||
objectStore = "ConcurrentSoftReferenceStore" //memory sensitive | ||
/** | ||
* -------------------------------------------------------------------------- | ||
* Custom Cache Regions | ||
* -------------------------------------------------------------------------- | ||
* You can use this section to register different cache regions and map them | ||
* to different cache providers | ||
*/ | ||
caches : { | ||
/** | ||
* -------------------------------------------------------------------------- | ||
* ColdBox Template Cache | ||
* -------------------------------------------------------------------------- | ||
* The ColdBox Template cache region is used for event/view caching and | ||
* other internal facilities that might require a more elastic cache. | ||
*/ | ||
template : { | ||
provider : "coldbox.system.cache.providers.CacheBoxColdBoxProvider", | ||
properties : { | ||
objectDefaultTimeout : 120, | ||
objectDefaultLastAccessTimeout : 30, | ||
useLastAccessTimeouts : true, | ||
freeMemoryPercentageThreshold : 0, | ||
reapFrequency : 5, | ||
evictionPolicy : "LRU", | ||
evictCount : 2, | ||
maxObjects : 300, | ||
objectStore : "ConcurrentSoftReferenceStore" // memory sensitive | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
} | ||
]]></content> | ||
<tabTrigger>cachebox-config</tabTrigger> | ||
<scope>source,text</scope> | ||
<description>CacheBox Configuration File (CaceBox.cfc)</description> | ||
</snippet> | ||
</snippet> |
Oops, something went wrong.