Page & Cache Rules not working

What is the name of the domain?

What is the issue you’re encountering

Page Rule and Cache Rules not working?

What steps have you taken to resolve the issue?

Hey, i tried to manage to bypass the cache for e.g. Bikepark-Karte | Bikepark-Online.de

But nor Cache or Page Rule are working, I tried to vary the parameters, add browser TTL etc. but it didnt work, cf-cache-status is always: HIT…

Can anyone help me out? :wink:

Thx a lot!

Screenshot of the error

Here are all rules im using, i dont see any issues here :confused:

That last rule sure looks like it’s set to cache everything, so it will override the settings before it.

hey @sdayman thx a lot!!! yes, indeed!

i thought first rules first… ;/ (also, Chat GPT says this ;)) and i understand this also from your link:
" If the entire expression evaluates to true , there is a rule match and Cloudflare triggers the action configured in the rule."

but seems i am wrong?
is there a way i can combine both? sorry i dont get it out of the docs…

thx & best

1 Like

Page Rules was First Rule wins, and then processing stops.

Ruleset Engine is “Last Setting Wins” since a request will go through all the Cache Rules and then apply the final version of each setting.

I’d also advise against mix and match between Page Rules and other Rules features. Pick one or the other, such as Cache Rules, and you’ll get more predictable behavior.

1 Like

hey @sdayman

ok so the solution should be a cache rule after (!) the cache everything rule?

thx again!

1 Like

@sdayman thx again!!!

i am now getting “Dynamic”, should be the expected header, right? :slight_smile:

one Q: i dont totally get your reply “Page Rules was First Rule wins, and then processing stops.”
I thought that Page Rules are executed “after” Cahe Rule and so overwrite that, but seems i am wrong.

And the rules “at the bottom” = “last setting” wins? I thought the ones at the top are executed if they match and then the consition / url isnt touched anymore afterwards?

here: my “dont cache rule” on 1st position and then “cache everything” at the bottom. i dont get that, why here the 1st didnt work out.

thx again so much!!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.