Skip to content

Commit d882ca3

Browse files
committed
Cache /favicon.ico
1 parent 13188cf commit d882ca3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

roundup/scripts/roundup_server.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ def inner_run_cgi(self):
322322
self.send_response(200)
323323
self.send_header('Content-Type', 'image/x-icon')
324324
self.send_header('Content-Length', len(favico))
325+
self.send_header('Cache-Control', "public, max-age=86400")
325326
self.end_headers()
326327

327328
# this bufsize is completely arbitrary, I picked 4K because

0 commit comments

Comments
 (0)