From 4c20843744ba56bc9a6717dd2227eb852297f4b3 Mon Sep 17 00:00:00 2001 From: Nick Krecklow Date: Fri, 8 May 2020 17:22:25 -0500 Subject: [PATCH] set Cache-Control header for hashed favicons to public --- lib/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/server.js b/lib/server.js index 1dfbbad..969ad68 100644 --- a/lib/server.js +++ b/lib/server.js @@ -58,7 +58,7 @@ class Server { res.writeHead(200, { 'Content-Type': 'image/png', 'Content-Length': buf.length, - 'Cache-Control': 'max-age=604800' // Cache hashed favicon for 7 days + 'Cache-Control': 'public, max-age=604800' // Cache hashed favicon for 7 days }).end(buf) return true