AngularTS
    Preparing search index...

    Interface CachedRestBackendOptions

    Configuration for CachedRestBackend.

    interface CachedRestBackendOptions {
        cache: RestCacheStore;
        network: RestBackend;
        onRevalidate?: (event: RestRevalidateEvent) => void;
        strategy: RestCacheStrategy;
    }
    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.

    strategy: RestCacheStrategy

    Read strategy used for cacheable GET requests.