启用 GZIP压缩

This commit is contained in:
gaoxiongzaq 2023-07-20 09:12:30 +08:00
parent 770769ead5
commit 778a381b5b

View File

@ -3,7 +3,7 @@ server.port = ${KK_SERVER_PORT:8012}
server.servlet.context-path= ${KK_CONTEXT_PATH:/}
server.servlet.encoding.charset = utf-8
#启用GZIP压缩功能
server.compression.enable= true
server.compression.enable= true
#允许压缩的响应缓冲区最小字节数默认2048
server.compression.min-response-size = 2048
#压缩格式