Skip to content

Commit 412786e

Browse files
authored
Merge pull request #579 from cyberHermanwang/master
modify cdn ignore_cache_control description
2 parents 99aae10 + 75b4dd2 commit 412786e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tencentcloud/resource_tc_cdn_domain.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ func resourceTencentCloudCdnDomain() *schema.Resource {
465465
Optional: true,
466466
Default: CDN_SWITCH_OFF,
467467
ValidateFunc: validateAllowedStringValue(CDN_SWITCH),
468-
Description: "Ignore the Set-Cookie header of the origin site. Valid values are `on` and `off`. Default value is `off`. The current version does not support `on`.",
468+
Description: "Ignore the Set-Cookie header of the origin site. Valid values are `on` and `off`. Default value is `off`. This parameter is for white-list customer.",
469469
},
470470
"no_cache_switch": {
471471
Type: schema.TypeString,

website/docs/r/cdn_domain.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ The `rule_cache` object supports the following:
201201
* `compare_max_age` - (Optional) Advanced cache expiration configuration. When it is turned on, it will compare the max-age value returned by the origin site with the cache expiration time set in CacheRules, and take the minimum value to cache at the node. Valid values are `on` and `off`. Default value is `off`.
202202
* `follow_origin_switch` - (Optional) Follow the source station configuration switch. Valid values are `on` and `off`.
203203
* `ignore_cache_control` - (Optional) Force caching. After opening, the no-store and no-cache resources returned by the origin site will also be cached in accordance with the CacheRules rules. Valid values are `on` and `off`. Default value is `off`.
204-
* `ignore_set_cookie` - (Optional) Ignore the Set-Cookie header of the origin site. Valid values are `on` and `off`. Default value is `off`. The current version does not support `on`.
204+
* `ignore_set_cookie` - (Optional) Ignore the Set-Cookie header of the origin site. Valid values are `on` and `off`. Default value is `off`. This parameter is for white-list customer.
205205
* `no_cache_switch` - (Optional) Cache configuration switch. Valid values are `on` and `off`.
206206
* `re_validate` - (Optional) Always check back to origin. Valid values are `on` and `off`. Default value is `off`.
207207
* `rule_paths` - (Optional) Matching content under the corresponding type of CacheType: `all`: fill *, `file`: fill in the suffix name, such as jpg, txt, `directory`: fill in the path, such as /xxx/test, `path`: fill in the absolute path, such as /xxx/test.html, `index`: fill /, `default`: Fill `no max-age`.

0 commit comments

Comments
 (0)