set Cache-Control header for hashed favicons to public

This commit is contained in:
Nick Krecklow 2020-05-08 17:22:25 -05:00
parent 11d3031b6c
commit 4c20843744
No known key found for this signature in database
GPG Key ID: 5F149FDE156FFA94

@ -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