Interface: Cache
Defined in: src/client.ts:17
The ETag cache for GET requests.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
get | (url) => CacheEntry | Promise<CacheEntry | null> | null | Retrieves a cached entry by URL. | src/client.ts:19 |
set | (url, entry) => void | Promise<void> | Stores a cache entry by URL. | src/client.ts:21 |