AngularTS
    Preparing search index...

    Type Alias RestCacheStrategy

    RestCacheStrategy: CacheStrategy

    Read strategy used by CachedRestBackend for GET requests.

    • cache-first: return cached data when present, otherwise fetch network.
    • network-first: fetch network first, falling back to stale cache on error.
    • stale-while-revalidate: return cache immediately and refresh in the background.