From 67e8d4df74af373e37b7121ba4b44fb2ea87bba9 Mon Sep 17 00:00:00 2001 From: JulienPeloton Date: Mon, 23 Dec 2024 13:26:51 +0100 Subject: [PATCH] Add compression at the Dash level --- app.py | 1 + requirements.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/app.py b/app.py index d8728d10..3a3b67a1 100644 --- a/app.py +++ b/app.py @@ -66,6 +66,7 @@ background_callback_manager=background_callback_manager, update_title=None, title="Fink Science Portal", + compress=True ) nlimit = 10000 diff --git a/requirements.txt b/requirements.txt index 6a45411b..08ee3bd5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -48,6 +48,7 @@ fink-filters==3.38 fink-spins==0.3.8 fink-utils==0.29.14 Flask==3.0.1 +Flask-Compress==1.17 fonttools==4.47.2 frozenlist==1.4.1 future==0.18.3