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
As per the getting started section its possible to setup a client request using System.Reactive and assigning the StrawberryShake.ExecutionStrategy.CacheFirst to .Watch which will then cache the results.
The alternative is to use CacheAndNetwork but this will always send a request.
is there a way to use CacheFirst but with an expiry. so that the results could be cached for a number of seconds/minutes and if expired make a network request
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
As per the getting started section its possible to setup a client request using
System.Reactive
and assigning theStrawberryShake.ExecutionStrategy.CacheFirst
to.Watch
which will then cache the results.The alternative is to use
CacheAndNetwork
but this will always send a request.is there a way to use CacheFirst but with an expiry. so that the results could be cached for a number of seconds/minutes and if expired make a network request
Beta Was this translation helpful? Give feedback.
All reactions