Image not updating without manually purging the cache on Cloudflare

That 30 days is coming from the Cache-Control header.

I would start looking at the configuration on your origin (the server behind Cloudflare (and not Cloudflare)) for that, as it may likely be that the server has been configured, to believe that the “.JPG” is a static asset, and therefore is responding with a long-term Cache-Control header.

Without any specific options for the “Browser TTL” in Cloudflare, Cloudflare (as well as other CDN providers) will simply pass on what it receives from your origin.

1 Like

@DarkDeviL thank you for taking the time to explain me all of this. To be honest, it does start to be quite complicate for me. For now I have re-activated the rule to bypass Cloudflare cache, targeting only the image folders where the user can update images.
Do you think that’s an acceptable solution (as this solve my issue)?

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