This is an automated email from the ASF dual-hosted git repository.

kirs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new 763c659  [Feature][API]enable response resources gzip compression 
(#4121)
763c659 is described below

commit 763c65938d4686d115cd27321aaf5fddf23c106d
Author: Shiwen Cheng <[email protected]>
AuthorDate: Mon Nov 30 10:11:50 2020 +0800

    [Feature][API]enable response resources gzip compression (#4121)
    
    * enable response compression
    
    * add server.compression.mime-types with default value explicitly
---
 dolphinscheduler-api/src/main/resources/application-api.properties | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dolphinscheduler-api/src/main/resources/application-api.properties 
b/dolphinscheduler-api/src/main/resources/application-api.properties
index 5b8bb5d..5af7fbd 100644
--- a/dolphinscheduler-api/src/main/resources/application-api.properties
+++ b/dolphinscheduler-api/src/main/resources/application-api.properties
@@ -30,6 +30,10 @@ spring.jackson.time-zone=GMT+8
 spring.servlet.multipart.max-file-size=1024MB
 spring.servlet.multipart.max-request-size=1024MB
 
+# enable response compression
+server.compression.enabled=true
+server.compression.mime-types=text/html,text/xml,text/plain,text/css,text/javascript,application/javascript,application/json,application/xml
+
 #post content
 server.jetty.max-http-post-size=5000000
 

Reply via email to