Skip to content

Commit

Permalink
Update EagerRefresh.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jodydonetti authored Nov 13, 2023
1 parent 24d5d0b commit 372a78f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/EagerRefresh.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Something interesting to note is that the Akamai CDN took the same approach for
This basically makes the threshold *dynamic* based on each call's `Duration`: by setting it to `0.9` (`90%`) it will always mean *"start refreshing in the background after 90% of this cached data duration, whatever that is"*.

## A Practical Example
## 👩‍💻 A Practical Example

Let's say we store some data in the cache with a `Duration` of `10 min` with [fail-safe](FailSafe.md) enabled:

Expand Down Expand Up @@ -127,4 +127,4 @@ This means that:

So basically fresh data as soon as possible + no blocking + complete protection from Cache Stampede.

Ain't it nice 😬 ?
Ain't it nice 😬 ?

0 comments on commit 372a78f

Please sign in to comment.