application.yml
server:
servlet-path: /
compression:
enabled: true
min-response-size: 1024
mime-types:
- image/png
- image/jpeg
- image/jpg
- text/html
- application/javascript
- text/css
- application/octet-stream
- application/json
添加上面配置压缩请求数据大小,提升接口访问速度。
感谢博主,喝杯咖啡~
感谢博主,喝杯咖啡~
还没有人发表评论