mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-29 22:36:36 +08:00
增加页面优化相关API、配置、消息代号
This commit is contained in:
@@ -23,6 +23,9 @@ service HTTPWebService {
|
||||
// 更改压缩配置
|
||||
rpc updateHTTPWebCompression (UpdateHTTPWebCompressionRequest) returns (RPCSuccess);
|
||||
|
||||
// 更改页面优化配置
|
||||
rpc updateHTTPWebOptimization(UpdateHTTPWebOptimizationRequest) returns (RPCSuccess);
|
||||
|
||||
// 更改WebP配置
|
||||
rpc updateHTTPWebWebP (UpdateHTTPWebWebPRequest) returns (RPCSuccess);
|
||||
|
||||
@@ -159,6 +162,12 @@ message UpdateHTTPWebCompressionRequest {
|
||||
bytes compressionJSON = 2;
|
||||
}
|
||||
|
||||
// 更改页面优化配置
|
||||
message UpdateHTTPWebOptimizationRequest {
|
||||
int64 httpWebId = 1;
|
||||
bytes optimizationJSON = 2;
|
||||
}
|
||||
|
||||
// 更改WebP配置
|
||||
message UpdateHTTPWebWebPRequest {
|
||||
int64 httpWebId = 1;
|
||||
|
||||
@@ -159,6 +159,7 @@ message FindEnabledServerGroupConfigInfoResponse {
|
||||
bool hasCharsetConfig = 8;
|
||||
bool hasStatConfig = 9;
|
||||
bool hasCompressionConfig = 10;
|
||||
bool hasOptimizationConfig = 20;
|
||||
bool hasRequestHeadersConfig = 11;
|
||||
bool hasResponseHeadersConfig = 12;
|
||||
bool hasWebsocketConfig = 13;
|
||||
|
||||
Reference in New Issue
Block a user