OCT 1. 开启SpringBootHTTP服务gzip压缩功能
This commit is contained in:
parent
9de73f2ec5
commit
f92beb521a
|
@ -2,6 +2,13 @@ server :
|
|||
port : 9276
|
||||
servlet:
|
||||
context-path: /cmhi
|
||||
compression:
|
||||
# 开启响应压缩
|
||||
enabled : true
|
||||
mime-types :
|
||||
- application/json # RESTful API JSON
|
||||
# 进行压缩的最小体积
|
||||
min-response-size: 1KB
|
||||
|
||||
# Crypto Configure
|
||||
jasypt :
|
||||
|
|
Loading…
Reference in New Issue