Skip to content

Commit

Permalink
Updating README
Browse files Browse the repository at this point in the history
  • Loading branch information
aholstenson committed Jun 14, 2017
1 parent c77761c commit 78e3e2c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 78e3e2c

Please sign in to comment.