node-cache
node-cache copied to clipboard
Add 'deleteOnTimeout' configuration
'deleteOnTimeout' controls whether a key is removed when the ttl expires or whether it is kept. Default is true (behavior is unchanged). If set to false, key will not be removed when ttl expires, but timeout callback will be invoked.