commit 0fe556e389f4b7dcf68a5bbe1421c848cd78e6e1 Author: Michael Quiniola Date: Thu Oct 1 09:42:53 2020 -0700 Update template to enable offline-compression This update fixes slow page render times in the OpenStack Dashboard charm. By default the charm is not set to enable the COMPRESS_OFFLINE configuration option. Uncommenting the line that contains this option resolves this issue. Closes-Bug: 1867938 Change-Id: I6edac134d40fe8196795c245e8589be85f49cc9c diff --git a/templates/ocata/local_settings.py b/templates/ocata/local_settings.py index 1477161..50565a2 100644 --- a/templates/ocata/local_settings.py +++ b/templates/ocata/local_settings.py @@ -953,7 +953,7 @@ LOGIN_REDIRECT_URL='{{ webroot }}' ALLOWED_HOSTS = '*' # Compress all assets offline as part of packaging installation -#COMPRESS_OFFLINE = True +COMPRESS_OFFLINE = True # DISALLOW_IFRAME_EMBED can be used to prevent Horizon from being embedded # within an iframe. Legacy browsers are still vulnerable to a Cross-Frame