AngularTS
    Preparing search index...

    Interface CachedRestBackendOptions

    Configuration for CachedRestBackend.

    interface CachedRestBackendOptions {
        cache: RestCacheStore;
        network: RestBackend;
        onRevalidate?: (event: RestRevalidateEvent) => void;
        policy?: RestCachePolicy;
        strategy?: CacheStrategy;
    }
    Index

    Properties

    Async cache store, such as IndexedDB, Cache API, or memory.

    network: RestBackend

    Backend used for authoritative network responses and writes.

    onRevalidate?: (event: RestRevalidateEvent) => void

    Notified after a stale-while-revalidate refresh succeeds.

    policy?: RestCachePolicy

    Runtime policy used to choose the read strategy for each cacheable request.

    strategy?: CacheStrategy

    Default read strategy used for cacheable GET requests.