diff --git a/applications/highlight-termbin/index.js b/applications/highlight-termbin/index.js index e7882ca..92345b4 100644 --- a/applications/highlight-termbin/index.js +++ b/applications/highlight-termbin/index.js @@ -37,6 +37,8 @@ async function init () { return res.status(404).end() } + res.header('Cache-Control', 'max-age=' + 7 * 24 * 60 * 60 * 1000) + if (reqRaw) { return res.set('Content-Type', 'text/plain').send(text) }