Cloudflare冲突的页面规则? [英] Cloudflare Conflicting Page-Rules?

查看:179
本文介绍了Cloudflare冲突的页面规则?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个网站,例如example.com。可以将Couldflare设置为缓存所有内容

I have a website, say example.com. Couldflare is set to cache everything on

*example.com/*

如果我添加其他规则:

*nope.example.com/*

并将其设置为绕过缓存,cloudflare如何处理冲突的页面规则?

And set it to bypass cache, what will cloudflare do with the conflicting page rules?

推荐答案

根据来源A ;

Page Rules are applied in the order that they are listed.

因此,您所需要做的就是先放置旁路缓存,然后再缓存所有内容规则:

So, all you would have to do is put the bypass cache first and then the cache everything rule:

*nope.example.com/* (Bypass)
*example.com/* (Cache Everything)

这篇关于Cloudflare冲突的页面规则?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆