dreamworkAPI
Ctrl K
GitHub
typeDocs / http / client / SessionCache

http.client.SessionCache

typesource

An in-memory cache entry of a request made with Request.cache.

Fields

NameTypeDescription
identifierstringThe 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).
futureFutureThe future of the cached request, awaited by repeated identical requests.
startnumberThe time (in seconds, time.elapsed) when the request was cached.
agenumberThe lifetime of the cache entry in seconds, may be shortened by the response's max-age.
Generated from the dreamwork meta branch.