From: Afreen Misbah Date: Tue, 26 Aug 2025 18:58:17 +0000 (+0530) Subject: mgr/dashboard: Optimize css styles.css bundle X-Git-Tag: testing/wip-jcollin-testing-20250905.013110-tentacle~19^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=6cce63ba1df9e1f1bbb90e749756250707ccf4f3;p=ceph-ci.git mgr/dashboard: Optimize css styles.css bundle - compresses the css bundle before sending to browser - this improves LCP value value as well Fixes https://tracker.ceph.com/issues/72742 Signed-off-by: Afreen Misbah (cherry picked from commit 164c1cf1cfc40607960a9b04eeb0d2644a1584aa) --- diff --git a/src/pybind/mgr/dashboard/module.py b/src/pybind/mgr/dashboard/module.py index 295403f6fe3..d566edc3b01 100644 --- a/src/pybind/mgr/dashboard/module.py +++ b/src/pybind/mgr/dashboard/module.py @@ -146,6 +146,7 @@ class CherryPyConfig(object): 'application/json', 'application/*+json', 'application/javascript', + 'text/css', ], 'tools.json_in.on': True, 'tools.json_in.force': True,