conf

conf

Properties:
Name Type Description
CACHE_SIZE number

The garbage colector is inactive when the amount of resources is less than CACHE_SIZE

plugins object

Stores the plugins configuration

Properties
Name Type Description
fetch object

The configuration for the fetch plugin

Properties
Name Type Description
checkInterval number

Size of the interval, in milliseconds, to check for new values doing a GET request

threshold number

Size of the windows, in milliseconds, in which a call to get, onGet, refresh or useOnGet will use the cached value instead of make a fetch

anyCustomPluginName object

Whatever configuration object that were needed by the plugin named anyCustomPluginName

Source: