Moving gzip properties into fe
[aai/sparky-be.git] / sparkybe-onap-application / config / application-fe-dev.properties
index bba6656..8ef1de2 100644 (file)
@@ -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}/target/static/
\ No newline at end of file
+spring.resources.static-locations=file:${APP_HOME}/target/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