vot.js - v2.4.12
    Preparing search index...

    Interface CacheStorage

    The storage for Cache objects. Available only in secure contexts.

    MDN Reference

    interface CacheStorage {
        delete(cacheName: string): Promise<boolean>;
        has(cacheName: string): Promise<boolean>;
        keys(): Promise<string[]>;
        match(
            request: URL | RequestInfo,
            options?: MultiCacheQueryOptions,
        ): Promise<undefined | Response>;
        open(cacheName: string): Promise<Cache>;
    }
    Index

    Methods

    • Parameters

      • cacheName: string

      Returns Promise<boolean>

    • Parameters

      • cacheName: string

      Returns Promise<boolean>

    • Returns Promise<string[]>

    • Parameters

      • cacheName: string

      Returns Promise<Cache>