From: Arul.Nambi Date: Mon, 12 Nov 2018 17:45:33 +0000 (-0500) Subject: Gziping js to increase performance X-Git-Tag: 1.4.0~26 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=6f99c3307fe05014c23720cc191a086137135651;p=aai%2Fsparky-be.git Gziping js to increase performance Issue-ID: AAI-1881 Change-Id: I86551329447d9fd2efb8657d213a00f39e70fb84 Signed-off-by: Arul.Nambi --- 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