How to prevent a certain URL from being cached

Hello there!

So I am using page rules in order to prevent one of my URLs from being cached as you can see below:
The first one will end up like this:
The second one will be like this: (and numbers can be changed for different categories)
Am I doing it right? Is the * in the correct place? Even if I use the page rules as you’ve seen above does that mean images are still being cached?


Looks good to me.

No, nothing on this paths will be cached. Everything in api/* and below will be excluded. If the avatars should be cached, you need to create more specific rules and put them into the right order.

1 Like

The thing is I still see signs of being cached and it will be gone once I reset the cache in CF’s dashboard and not when I clear browser’s cache

This topic was automatically closed after 14 days. New replies are no longer allowed.