Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Cache

Package version

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.

Hierarchy

  • Cache

Index

Methods

add

  • Parameters

    Returns Promise<void>

addAll

  • Parameters

    Returns Promise<void>

delete

  • Parameters

    Returns Promise<boolean>

keys

match

  • Parameters

    Returns Promise<Response | undefined>

matchAll

put

  • Parameters

    Returns Promise<void>

Generated using TypeDoc