Query the Page Optimization
Last Updated:2020-09-17
This interface is used to query the page optimization settings.
Method | Path | Description |
---|---|---|
GET | /v2/domain/{domain}/config?fileTrim | Query page optimization settings |
domain: CDN accelerated domain name.
Response body
Parameter | Type | Description |
---|---|---|
fileTrim | bool | Setting of page optimization |
Response code (Http Status Code)
HTTP Status Code | Description |
---|---|
200 | Success |
Request example
GET /v2/domain/myself.baidu.com/config?fileTrim HTTP/1.1
Host: cdn.baidubce.com
Response example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
{
"fileTrim":false
}