From 78e3e2ca87bf7e61b9a6349f50c0fbfea9da9dcb Mon Sep 17 00:00:00 2001 From: Andreas Holstenson Date: Wed, 14 Jun 2017 10:52:44 +0200 Subject: [PATCH] Updating README --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 829158f..02968a3 100644 --- a/README.md +++ b/README.md @@ -98,9 +98,8 @@ const cache = transitory() ## Automatic expiry Limiting the maximum amount of time an entry can exist in the cache can be done -by using `expireAfterWrite(timeInMs)`. For now its recommended to use this -together with `maxSize` as removal is lazily executed when the cache is -updated and needs to evict old data. +by using `expireAfterWrite(timeInMs)`. Entries are lazy evaluated and will +be removed when the values are set or deleted from the cache. ```javascript const cache = transitory()