Gziping js to increase performance 47/72447/1
authorArul.Nambi <arul.nambi@amdocs.com>
Mon, 12 Nov 2018 17:45:33 +0000 (12:45 -0500)
committerArul.Nambi <arul.nambi@amdocs.com>
Mon, 12 Nov 2018 17:45:50 +0000 (12:45 -0500)
Issue-ID: AAI-1881
Change-Id: I86551329447d9fd2efb8657d213a00f39e70fb84
Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
sparkybe-onap-application/config/application.properties

index 8dbb190..0fa18fd 100644 (file)
@@ -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