Options
All
  • Public
  • Public/Protected
  • All
Menu

Provides a storage mechanism for Request / Response object pairs that are cached, for example as part of the ServiceWorker life cycle. Note that the Cache interface is exposed to windowed scopes as well as workers. You don't have to use it in conjunction with service workers, even though it is defined in the service worker spec. Available only in secure contexts.

Hierarchy

  • Cache

Index

Methods

  • Parameters

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    Returns Promise<boolean>

  • Parameters

    Returns Promise<undefined | Response>

  • Parameters

    Returns Promise<readonly Response[]>

  • put(request: URL | RequestInfo, response: Response): Promise<void>
  • Parameters

    Returns Promise<void>

Generated using TypeDoc