http.client.SessionCache
An in-memory cache entry of a request made with Request.cache.
Fields
| Name | Type | Description |
|---|---|---|
identifier | string | The cache key, a JSON of the request's method, url (with query parameters), body, content type and headers (without the cookie jar and etag ones). |
future | Future | The future of the cached request, awaited by repeated identical requests. |
start | number | The time (in seconds, time.elapsed) when the request was cached. |
age | number | The lifetime of the cache entry in seconds, may be shortened by the response's max-age. |