Skip to content

Commit 002e3b4

Browse files
committed
docs(changeset): Improved key generation for helper functions withCache & cachedCall - they now prefix the helper name to the key to avoid cache clashes with anonymous functions between helpers. They will still clash within the same helper - use an explicit key if you wish to avoid this.
1 parent 5bc9456 commit 002e3b4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.changeset/green-drinks-clean.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"node-cache-plus": minor
3+
---
4+
5+
Improved key generation for helper functions withCache & cachedCall - they now prefix the helper name to the key to avoid cache clashes with anonymous functions between helpers. They will still clash within the same helper - use an explicit key if you wish to avoid this.

0 commit comments

Comments
 (0)