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:
parent
5dd04dac31
commit
0fe556e389
|
@ -953,7 +953,7 @@ LOGIN_REDIRECT_URL='{{ webroot }}'
|
||||||
ALLOWED_HOSTS = '*'
|
ALLOWED_HOSTS = '*'
|
||||||
|
|
||||||
# Compress all assets offline as part of packaging installation
|
# 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
|
# DISALLOW_IFRAME_EMBED can be used to prevent Horizon from being embedded
|
||||||
# within an iframe. Legacy browsers are still vulnerable to a Cross-Frame
|
# within an iframe. Legacy browsers are still vulnerable to a Cross-Frame
|
||||||
|
|
Loading…
Reference in New Issue