liuhaidong 大佬有话说 : 2019-12-6 10:23:46
已解决:CloudFlare 的页面规则 Page Rules 规则顺序
本帖最后由 liuhaidong 于 2019-12-6 10:26 编辑
CloudFlare 的页面规则Page Rules规则顺序是越往上权重越高么?上面的覆盖下面?
帮助里只看到这个:
What are Page Rules?
Page Rules give you granular, URL-based control of Cloudflare’s settings. The most important thing to know about Page Rules is that only one Page Rule will trigger on a URL, so it’s important to sort your Page Rules in priority order, and keep your most specific Page Rules at the top.
已解决:
Page Rule 有两件重要事项需要注意:
只有一个 Page Rule 将对任何给定的请求生效
Page Rule 的优先级按照从上到下的顺序排列
在一个 URL 匹配一个规则后,只有该规则会被应用 – 即,如果 Page Rule 已基于一个请求而被触发,那么后续也匹配该 URL 模式的任何规则将不起作用。通常,建议您将规则按从最具体到最不具体的顺序排列。
Page Rule 可以暂停,在这种情况下,它们将不采取任何操作,但仍可以在列表中查看和编辑。Save as Draft选项会创建最初暂停的 Page Rule。