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 client I want to have some standart cache policies
something like there:
/* This is the default cache policy. When using this, requests
will first check if cached objects fitting the request are available in the cache.
If there is no cached data, empty result will be returned, and the request will proceed as normal.
If there is non-expired cached data (updated within the same running session; see \c setSessionExpireIn:), the request will
use it without contacting the server./
TRFetchRequestReturnCacheDataElseLoad = 0,
/** Request will not read from the cache when using this option.
The receiver will be notified only once. If remote call fails,
then receiver will get cached data with service error and fromCache=NO.*/
TRFetchRequestReloadIgnoringCacheData = 1,
/** When using this option, requests will succeed only if a response
is already cached. If no response for a request is cached,
the request will return empty data.*/
TRFetchRequestReturnCacheDataDontLoad = 2,
/** When using this policy, requests will first look to see if a
cached response is available in the cache. If there is no cached data,
the request will proceed as normal. If there is and the cached data
has not expired, the request will use the cached data and then contacting
with the server to retrieve updates.*/
TRFetchRequestReturnCacheDataThenLoad = 3
The text was updated successfully, but these errors were encountered:
As client I want to have some standart cache policies
something like there:
/* This is the default cache policy. When using this, requests
will first check if cached objects fitting the request are available in the cache.
If there is no cached data, empty result will be returned, and the request will proceed as normal.
If there is non-expired cached data (updated within the same running session; see \c setSessionExpireIn:), the request will
use it without contacting the server./
TRFetchRequestReturnCacheDataElseLoad = 0,
The text was updated successfully, but these errors were encountered: