resp.stale

BOOL, can be read and set, but not unset.

Available in all subroutines.

Whether or not the selected response is a stale cache hit, as a result of an asynchronous revalidation, backend failure or an explicit return(deliver_stale).

Also see resp.stale.is-error and resp.stale.is-revalidating.

User contributed notes

We welcome comments that add use cases, ideas, tips, and caveats. All comments will be moderated before publication. To post support questions, visit our support center and we'll find you the help you need.