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: https://example.com/api/avatar/user.png
The second one will be like this: https://example.com/leaderboard#1 (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?
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.
Thanks
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