AngularTS
    Preparing search index...

    Type Alias RestCacheStrategy

    RestCacheStrategy: "cache-first" | "network-first" | "stale-while-revalidate"

    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.