-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* stale while revalidate * revalidation logic * remove extra await * Refactor and expose redis callers * testing and remove await for bg revalidation * rework ttl naming + customize long ttl * pipeline nx * test without pipelining * fix no-pipelining redis set tracing revalidation * changesets * final assertions * switch swr and data key * rename to revalidation key * setCache/readCache swr mode
- Loading branch information
Showing
7 changed files
with
881 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@soundxyz/fine-grained-cache": patch | ||
--- | ||
|
||
Expose redis interaction functions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@soundxyz/fine-grained-cache": minor | ||
--- | ||
|
||
New "getStaleWhileRevalidate" function |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.