|
@@ -88,6 +88,7 @@ class ChatServer(http.server.BaseHTTPRequestHandler):
|
|
|
|
|
|
|
|
self.send_response(200)
|
|
self.send_response(200)
|
|
|
self.send_header('Content-type', 'text/html; charset=utf-8')
|
|
self.send_header('Content-type', 'text/html; charset=utf-8')
|
|
|
|
|
+ self.send_header('Cache-Control', 'public, max-age=6')
|
|
|
self.end_headers()
|
|
self.end_headers()
|
|
|
self.wfile.write(self.generate_chat_log_html(roomid, lang))
|
|
self.wfile.write(self.generate_chat_log_html(roomid, lang))
|
|
|
elif self.path == '/lb-chat.css':
|
|
elif self.path == '/lb-chat.css':
|