Sometimes I want to update an item without updating the age of the item. Maybe this could be done with a flag on `set(key, value, maxAge, updateNow)`. And then `set` could be updated here: https://github.com/isaacs/node-lru-cache/blob/master/lib/lru-cache.js#L321 From: ``` item.now = now ``` To: ``` updateNow = updateNow || updateNow == null // Default to true ... if (updateNow) { item.now = now } ```
Sometimes I want to update an item without updating the age of the item.
Maybe this could be done with a flag on
set(key, value, maxAge, updateNow). And thensetcould be updated here: https://github.com/isaacs/node-lru-cache/blob/master/lib/lru-cache.js#L321From:
To: