首页
技术博客
登录
6mi
u
盘
搜
搜 索
技术博客
SpringBoot后端开启gzip压缩
SpringBoot后端开启gzip压缩
tech
2026-10-11
4
在springboot配置文件中添加这两行即可
# 开启压缩 server.compression.enabled=true server.compression.mime-types=application/json,application/xml,text/html,text/xml,text/plain
转载请注明原文地址:https://tech.qufami.com/read-29420.html
最新回复
(
0
)