CacheStorage
[<Interface>]
type CacheStorage =
abstract member ``match`` (request: URL, ?options: MultiCacheQueryOptions) : Promise<Response option>
abstract member ``match`` (request: string, ?options: MultiCacheQueryOptions) : Promise<Response option>
abstract member ``match`` (request: Request, ?options: MultiCacheQueryOptions) : Promise<Response option>
abstract member ``open`` (cacheName: string) : Promise<Cache>
abstract member delete (cacheName: string) : Promise<bool>
abstract member has (cacheName: string) : Promise<bool>
abstract member keys () : Promise<ResizeArray<string>>
| |
|---|
| Assembly | Glutinum.Web |
| Inherits | obj \| null |
| Attributes | [<AllowNullLiteral>] [<Interface>] [<Global>] |
Methods
abstract member ``match`` (request: URL, ?options: MultiCacheQueryOptions) : Promise<Response option>
abstract member ``match`` (request: string, ?options: MultiCacheQueryOptions) : Promise<Response option>
abstract member ``match`` (request: Request, ?options: MultiCacheQueryOptions) : Promise<Response option>
abstract member ``open`` (cacheName: string) : Promise<Cache>
abstract member delete (cacheName: string) : Promise<bool>
abstract member has (cacheName: string) : Promise<bool>