summaryrefslogtreecommitdiffstats
path: root/sparkybe-onap-application/config
diff options
context:
space:
mode:
authorArul.Nambi <arul.nambi@amdocs.com>2018-11-12 12:45:33 -0500
committerArul.Nambi <arul.nambi@amdocs.com>2018-11-12 12:45:50 -0500
commit6f99c3307fe05014c23720cc191a086137135651 (patch)
tree4de6415a7a753c2a5fcbcf936b6735447cc71edd /sparkybe-onap-application/config
parent206e44d57c0b1800abc2faf313a5c0c1b4945a8a (diff)
Gziping js to increase performance
Issue-ID: AAI-1881 Change-Id: I86551329447d9fd2efb8657d213a00f39e70fb84 Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
Diffstat (limited to 'sparkybe-onap-application/config')
-rw-r--r--sparkybe-onap-application/config/application.properties11
1 files changed, 11 insertions, 0 deletions
diff --git a/sparkybe-onap-application/config/application.properties b/sparkybe-onap-application/config/application.properties
index 8dbb190..0fa18fd 100644
--- a/sparkybe-onap-application/config/application.properties
+++ b/sparkybe-onap-application/config/application.properties
@@ -22,3 +22,14 @@ searchservice.port=30262
searchservice.client-cert=client-cert-onap.p12
searchservice.client-cert-password=1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
searchservice.truststore=tomcat_keystore
+
+# 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
+
+spring.mvc.favicon.enabled=false \ No newline at end of file