Skip to content

Commit

Permalink
#282 added gzip support for static content (~3x times size reduction)
Browse files Browse the repository at this point in the history
  • Loading branch information
bugy committed Apr 4, 2020
1 parent 47a4185 commit 197f8d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/web/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 197f8d4

Please sign in to comment.