bootstrap.yml添加
server:
#开启压缩
compression:
enabled: true
mime-types: application/json,application/xml,text/html,text/xml,text/plain,application/javascript,text/css
min-response-size: 10
excluded-user-agents: gozilla,traviata
bootstrap.yml添加
server:
#开启压缩
compression:
enabled: true
mime-types: application/json,application/xml,text/html,text/xml,text/plain,application/javascript,text/css
min-response-size: 10
excluded-user-agents: gozilla,traviata