Package-level declarations

Types

Link copied to clipboard
sealed external class Cache

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.

Link copied to clipboard
external interface CacheQueryOptions
Link copied to clipboard
sealed external class CacheStorage

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

Link copied to clipboard

Properties

Link copied to clipboard
external val caches: CacheStorage

Available only in secure contexts.