Skip to content

Commit 94a69f8

Browse files
committed
docs: update configure document
1 parent 614bd2c commit 94a69f8

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

docs/configure.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ inputs:
2626
- host: abc.com
2727
async: true
2828
autoRefresh: true
29+
onlyRefresh: false
2930
cache:
3031
simpleCache:
3132
followOrigin: on
@@ -127,9 +128,10 @@ inputs:
127128
| 参数名称 | 是否必选 | 默认 | 描述 |
128129
| ----------- | -------- | ------- | --------------------------------------------------------------------------------- |
129130
| async | 否 | `false` | 是否为异步操作,如果为 true,则不会等待 CDN 创建或更新成功再返回, |
130-
| autoRefresh | 否 | `false` | 是否自动刷新预热 CDN |
131+
| autoRefresh | 否 | `false` | 是否自动刷新 CDN |
131132
| onlyRefresh | 否 | `false` | 是否只刷新预热 CDN,如果为 `true`,那么只进行刷新预热操作,不会更新 CDN 配置 |
132133
| refreshCdn | 否 | | 刷新 CDN 相关配置,参考 [refreshCdn](#refreshCdn) |
134+
| pushCdn | 否 | | 预热 CDN 相关配置,参考 [pushCdn](#pushCdn) |
133135
| host | 是 | | 需要接入的 CDN 域名。 |
134136
| host | 是 | | 需要接入的 CDN 域名。 |
135137
| https | 否 | | Https 加速配置,参考:https://cloud.tencent.com/document/api/228/30987#Https |
@@ -140,10 +142,16 @@ inputs:
140142

141143
> 注意:`async` 参数对于配置多个 CDN 域名需求,或者在 CI 流程中时,建议配置成 `true`,不然会导致 serverless cli 执行超时,或者 CI 流程超时。
142144

145+
更多配置,请移至官方云 API 文档:https://cloud.tencent.com/document/product/228/41123
146+
143147
#### refreshCdn
144148

145149
| 参数名称 | 是否必选 | 默认 | 描述 |
146150
| -------- | -------- | ---- | ------------------- |
147-
| urls | 否 | [] | 需要刷新的 CDN 路径 |
151+
| urls | 否 | [] | 需要刷新的 CDN 目录 |
148152

149-
更多配置,请移至官方云 API 文档:https://cloud.tencent.com/document/product/228/41123
153+
#### pushCdn
154+
155+
| 参数名称 | 是否必选 | 默认 | 描述 |
156+
| -------- | -------- | ---- | ------------------- |
157+
| urls | 否 | [] | 需要预热的 CDN URLs |

0 commit comments

Comments
 (0)