Open
Description
In one of my project where I get to implement a cache, I store the response body (content) and the policy (via .toObject()
) together. When assembling a response from cache, I have access to the body and the header through the policy object, but not the status code. Since it is already stored in the policy, would it be good to also expose it (e.g. directly with a new .statusCode()
API, or from evaluateRequest()
or revalidatedPolicy()
)?
Metadata
Metadata
Assignees
Labels
No labels