Interface: Cache
Defined in: src/types.ts:4
The ETag cache for GET requests.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
get | (url) => CacheEntry | Promise<CacheEntry | null> | null | Retrieves the cached entry for url, or null if missing. | src/types.ts:6 |
set | (url, entry) => void | Promise<void> | Stores entry under url. | src/types.ts:8 |