You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, love this library! A great addition would be a brief sample implementation of how to use policy.useStaleWhileRevalidate() in the readme. I haven't quite got my head around how to use it in combination with satisfiesWithoutRevalidation.
Basically, I'd like to know when to kick off a background request in order to update the cache, but it's still ok to use the value that's already in the cache.
The text was updated successfully, but these errors were encountered:
Hi, love this library! A great addition would be a brief sample implementation of how to use
policy.useStaleWhileRevalidate()
in the readme. I haven't quite got my head around how to use it in combination withsatisfiesWithoutRevalidation
.Basically, I'd like to know when to kick off a background request in order to update the cache, but it's still ok to use the value that's already in the cache.
The text was updated successfully, but these errors were encountered: