@ezs/booster
v1.2.4
Published
booster statements for EZS
Downloads
29
Readme
booster
Ce plugin propose une instruction qui permet de mettre en cache le résultat de l’exécution d’un flux de traitement.
installation
npm install @ezs/booster
usage
Table of Contents
booster
Takes an Object
delegate processing to an external pipeline and cache the result
Parameters
data
feed
file
String? the external pipeline is described in a filescript
String? the external pipeline is described in a string of characterscommands
String? the external pipeline is described in a objectcommand
String? the external pipeline is described in a URL-like commandkey
String? the cache key form the stream, in not provided, it's computed with the first chunkhitsByCheck
Number Number of hits to verify the cache (optional, default1000
)maxFiles
Number Number of hits to verify the cache (optional, default100
)maxTotalSize
Number Size (bytes) maximun of the cash (1 G) (optional, default1000000000
)cleanupDelay
Number Frequency (milliseconds) to cleanup the cahe (10 min) (optional, default600000
)
Returns Object