Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit ddf644f

Browse files
committed
Merge pull request #29 from fdegiuli/memory-docs
docs: Update memory backend docs
2 parents 6c55b19 + dabce45 commit ddf644f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ cached('myStuff', { backend: {
9191
### Memory
9292

9393
Stores all the data in an in-memory object.
94+
*__Caveat:__ `get()` will return a reference to the stored value. Mutating the returned value will affect the value in the cache.*
9495

9596
#### Example
9697

0 commit comments

Comments
 (0)