more docs...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-11-30 05:21:23 +03:00
parent 18846406ed
commit dc1bd9a6f8
2 changed files with 13 additions and 1 deletions

View File

@ -1027,7 +1027,6 @@ module.Serialization = ImageGridFeatures.Feature({
//--------------------------------------------------------------------- //---------------------------------------------------------------------
// Cache... // Cache...
// XXX should this be in actions.js???
// XXX revise: cache group naming... // XXX revise: cache group naming...
// currently the used groups are: // currently the used groups are:
// Session groups -- cleared on .clear() ('cache') // Session groups -- cleared on .clear() ('cache')
@ -1106,7 +1105,19 @@ var CacheActions = actions.Actions({
.cache(group, title, handler) .cache(group, title, handler)
-> value -> value
Currently the used groups are:
Session groups -- cleared on .clear() (feature: 'cache')
session-*
view-*
View groups -- cleared by crop/collection (feature: 'crop', 'collections')
view-*
Changes groups -- cleared when specific changes are made (feature: 'changes')
*-data
*-images
...
Example use: Example use:
someAction: [ someAction: [
function(){ function(){

View File

@ -927,5 +927,6 @@ module.Sharp = core.ImageGridFeatures.Feature({
/********************************************************************** /**********************************************************************
* vim:set ts=4 sw=4 : */ return module }) * vim:set ts=4 sw=4 : */ return module })