Commit e763daa2 authored by Junling Bu's avatar Junling Bu
Browse files

perf[litemall-all]: 启用gzip压缩传输

parent b3c51ff7
# 性能
## 1 小程序性能
## 2 VUE性能
## 3 Spring Boot性能
### 3.1 gzip压缩
在litemall-all模块中配置gzip压缩
```
server:
compression:
enabled: true
min-response-size: 2048
mime-types: application/javascript,text/css,application/json,application/xml,text/html,text/xml,text/plain
```
## 4 数据库性能
## 5 其他
\ No newline at end of file
......@@ -6,6 +6,10 @@ spring:
server:
port: 8080
compression:
enabled: true
min-response-size: 2048
mime-types: application/javascript,text/css,application/json,application/xml,text/html,text/xml,text/plain
logging:
config: classpath:logback-spring.xml
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment