Page rule for stopping cache on jpg and png files?

I cant quite figure out how the page rules work? i want to stop the caching on jpg and png files on my site, as im using webp.

will something like this work?

subscriptionboxaustralia.com*.jpg.png

Thanks in advance

You would need two page rules One for *.jpg and one for *.png

Though defeating that cache will most likely cancel out the benefits of webp as it takes longer to load.

Thanks, but for people using webp the speed will be faster correct?

Can i use one rule for jpg and jpeg? such as
subscriptionboxaustralia.com.jp*g

You’d have to test to see if there would be a performance change.

You can set a rule for .jp (I’m pretty sure that will work). I don’t think you’d have any other resources that include .jp

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