From a12eab05e3f0ee7db5148e9b34a24df3b8147e6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Thu, 30 Mar 2017 18:19:49 -0700 Subject: [PATCH] doc: added todo --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 8023f7a..dd6f58d 100644 --- a/index.js +++ b/index.js @@ -109,6 +109,7 @@ function condFetch (uri, cachedRes, opts) { return remoteFetch(uri, opts).then(condRes => { if (condRes.status === 304) { condRes.body = cachedRes.body + // TODO - freshen up the cached entry } else if (condRes.status >= 500) { if (condRes.method.toLowerCase() === 'get') { return cachedRes