Awn
Awn

Reputation: 929

Cloudflare Conflicting Page-Rules?

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

*example.com/*

If I add another rule:

*nope.example.com/*

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

Upvotes: 0

Views: 218

Answers (1)

Awn
Awn

Reputation: 929

According to Source 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)

Upvotes: 2

Related Questions