From b2679d0836f2dba31c152c5276dbf83f5be61611 Mon Sep 17 00:00:00 2001 From: John-Wiens Date: Mon, 29 Apr 2024 16:03:21 -0600 Subject: [PATCH] Adding GZip Compression to endpoints --- .../src/main/resources/application.properties | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jpo-conflictvisualizer-api/src/main/resources/application.properties b/jpo-conflictvisualizer-api/src/main/resources/application.properties index 243e102f7..826de6e28 100644 --- a/jpo-conflictvisualizer-api/src/main/resources/application.properties +++ b/jpo-conflictvisualizer-api/src/main/resources/application.properties @@ -21,6 +21,10 @@ security.enabled=true load=false +server.compression.enabled=true +server.compression.mime-types=application/json,application/xml,text/html,text/xml,text/plain,application/javascript,text/css +server.compression.min-response-size=1024 + ### General Email Settings