set Cache-Control header for hashed favicons to public
This commit is contained in:
parent
11d3031b6c
commit
4c20843744
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user