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
This commit is contained in:
Michael Quiniola 2020-10-01 09:42:53 -07:00
parent 5dd04dac31
commit 0fe556e389
1 changed files with 1 additions and 1 deletions

View File

@ -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