cdn缓存怎样设置
设置cdn缓存的示例:
POST方式:
POST /2016-09-01/domain/SetCacheRuleConfig
Host: cdn.api.ksyun.com
X-Amz-Date: date
Authorization:authorization string
x-action: SetCacheRuleConfig
x-version: 2016-09-01
Content-Type: application/json
{
"DomainId":"2D09XC0",
"CacheRules":
[{
"CacheRuleType":"directory",
"Value":"/XXX/",
"CacheTime":11,
"RespectOrigin":"",
"CacheEnable":"on"
},
{
"CacheRuleType":"exact",
"Value":"/XXX/XXX.TXT",
"CacheEnable":"off"
}]
}
本文来源:https://www.yuntue.com/post/72504.html | 云服务器网,转载请注明出处!

微信扫一扫打赏
支付宝扫一扫打赏