检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
国家及地区说明 表1 部分国家/地区家编码 国家/地区 编码 中国 cn 阿联酋 ae 澳大利亚 au 巴西 br 加拿大 ca 瑞士 ch 德国 de 西班牙 es 法国 fr 英国 gb 印度尼西亚 id 以色列 il 印度 in 意大利 it 日本 jp 韩国 kr 墨西哥
对于频繁更新的静态文件(如js、css等),请根据实际业务情况设定。 对于动态文件(如php、jsp、asp等),建议设置成0秒,回源获取。 URL参数 目前大多数的网页请求都携带URL参数信息,参数以“?”
Before running this example, set environment variables CLOUD_SDK_AK and CLOUD_SDK_SK in the local environment ak = os.environ["CLOUD_SDK_AK
对于频繁更新的静态文件(如js、css等),请根据实际业务情况设定。 对于动态文件(如php、jsp、asp、动态接口等),建议设置成0秒,回源获取。 URL参数 目前大多数的网页请求都携带URL参数信息,参数以“?”
Before running this example, set environment variables CLOUD_SDK_AK and CLOUD_SDK_SK in the local environment ak = os.environ["CLOUD_SDK_AK
Before running this example, set environment variables CLOUD_SDK_AK and CLOUD_SDK_SK in the local environment ak = os.environ["CLOUD_SDK_AK
Before running this example, set environment variables CLOUD_SDK_AK and CLOUD_SDK_SK in the local environment ak = os.environ["CLOUD_SDK_AK
AD 安道尔 EC 厄瓜多尔 LB 黎巴嫩 RO 罗马尼亚 AE 阿拉伯联合酋长国 EE 爱沙尼亚 LC 圣卢西亚 RS 塞尔维亚 AF 阿富汗 EG 埃及 LK 斯里兰卡 RU 俄罗斯联邦 AG 安提瓜和巴布达 ER 厄立特里亚 LR 利比里亚 RW 卢旺达 AL 阿尔巴尼亚 ES
service_area String mainland_china(中国大陆),outside_mainland_china(中国大陆境外)。回源指标不区分服务范围,该参数对回源指标无效。
503 Service Unavailable 请求未完成。系统暂时异常。 504 Gateway Timeout 网关超时。 父主题: 附录
auto_refresh_preheat Integer 自动刷新预热(0代表关闭;1代表打开) service_area String 华为云CDN提供的加速服务范围,包含:mainland_china中国大陆、outside_mainland_china中国大陆境外、global
file_type String 压缩格式,内容总长度不可超过200个字符, 多种格式用“,”分隔,每组内容不可超过50个字符, 开启状态下,首次传空时默认值为.js,.html,.css,.xml,.json,.shtml,.htm,否则为上次设置的结果。
x-permitted-cross-domain-policies content-encoding last-modified server x-pingback content-length link server-timing x-powered-by content-location location service-worker-allowed
file_type 否 String 压缩格式,内容总长度不可超过200个字符, 多种格式用“,”分隔,每组内容不可超过50个字符, 开启状态下,首次传空时默认值为.js,.html,.css,.xml,.json,.shtml,.htm,否则为上次设置的结果。