From 6f99c3307fe05014c23720cc191a086137135651 Mon Sep 17 00:00:00 2001 From: "Arul.Nambi" Date: Mon, 12 Nov 2018 12:45:33 -0500 Subject: [PATCH] Gziping js to increase performance Issue-ID: AAI-1881 Change-Id: I86551329447d9fd2efb8657d213a00f39e70fb84 Signed-off-by: Arul.Nambi --- sparkybe-onap-application/config/application.properties | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 -- 2.16.6