Browse Source

[Feature][API]enable response resources gzip compression (#4121)

* enable response compression

* add server.compression.mime-types with default value explicitly
pull/3/MERGE
Shiwen Cheng 4 years ago committed by GitHub
parent
commit
763c65938d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      dolphinscheduler-api/src/main/resources/application-api.properties

4
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

Loading…
Cancel
Save