summaryrefslogtreecommitdiffstats
path: root/sparkybe-onap-application/config/application-fe-prod.properties
diff options
context:
space:
mode:
authorArul.Nambi <arul.nambi@amdocs.com>2018-11-19 12:33:26 -0500
committerArul.Nambi <arul.nambi@amdocs.com>2018-11-19 12:34:46 -0500
commit4bace97cd71f468d475317d53c7f5c33d4d2b863 (patch)
treef530e99211db5ecebae10811e51e43e4170d5ea6 /sparkybe-onap-application/config/application-fe-prod.properties
parent6f99c3307fe05014c23720cc191a086137135651 (diff)
Moving gzip properties into fe
Issue-ID: AAI-1881 Change-Id: Icd7f912d7cd8dc965051ed89b77718b84fc4a235 Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
Diffstat (limited to 'sparkybe-onap-application/config/application-fe-prod.properties')
-rw-r--r--sparkybe-onap-application/config/application-fe-prod.properties11
1 files changed, 10 insertions, 1 deletions
diff --git a/sparkybe-onap-application/config/application-fe-prod.properties b/sparkybe-onap-application/config/application-fe-prod.properties
index b332358..0a68468 100644
--- a/sparkybe-onap-application/config/application-fe-prod.properties
+++ b/sparkybe-onap-application/config/application-fe-prod.properties
@@ -4,4 +4,13 @@ server.servlet.context-path=/services/aai/webapp/
#
# attempt to externalize ui JS classes + resources
#
-spring.resources.static-locations=file:${APP_HOME}/static/ \ No newline at end of file
+spring.resources.static-locations=file:${APP_HOME}/static/
+
+# Enable response compression
+server.compression.enabled=true
+
+# The comma-separated list of mime types that should be compressed
+server.compression.mime-types=text/html,text/xml,text/plain,text/css,text/javascript,application/javascript,application/json
+
+# Compress the response only if the response size is at least 1KB
+server.compression.min-response-size=1024 \ No newline at end of file