Skip to main content
CacheStorage - Cache - Web documentation
interface CacheStorage

Methods

open(cacheName: string): Promise<Cache>

Open a cache storage for the provided name.

has(cacheName: string): Promise<boolean>

Check if cache already exists for the provided name.

delete(cacheName: string): Promise<boolean>

Delete cache storage for the provided name.