From 197f8d460b08ea0107aeada673da4b902cbb9ec4 Mon Sep 17 00:00:00 2001 From: yshepilov Date: Sat, 4 Apr 2020 17:40:33 +0200 Subject: [PATCH] #282 added gzip support for static content (~3x times size reduction) --- src/web/server.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/web/server.py b/src/web/server.py index 9caa84d6..368bbe89 100755 --- a/src/web/server.py +++ b/src/web/server.py @@ -907,7 +907,8 @@ def init(server_config: ServerConfig, "cookie_secret": secret, "login_url": "/login.html", 'websocket_ping_interval': 30, - 'websocket_ping_timeout': 300 + 'websocket_ping_timeout': 300, + 'compress_response': True } application = tornado.web.Application(handlers, **settings)