Searched refs:cachedRes (Results 1 – 1 of 1) sorted by relevance
229 function conditionalFetch (req, cachedRes, opts) { argument236 const policy = makePolicy(req, cachedRes)246 if (condRes.status >= 500 && !mustRevalidate(cachedRes)) {252 setWarning(cachedRes, 111, 'Revalidation failed')253 return cachedRes257 condRes.body = cachedRes.body269 if (mustRevalidate(cachedRes)) {277 setWarning(cachedRes, 111, 'Revalidation failed')284 cachedRes,289 return cachedRes