Resources (images, css) gets 304 sometimes

Hi,

We’re having a couple of properties using Cloudflare and came across this issue with images (and now recently, also a css-file).

We noticed some images are not shown on the site. Upon inspection it turns out they get a 304 status when fetched.

E.g this:
https_://transpa.rent/site/assets/product_img/346/cache/Photo_2021-06-22_w600.jpg (added https_ to avoid the image to render)

Sometimes this seems to be a problem only on one client, other times multiple clients have the same issue.

Adding a querystring to the url fixes it. Eg:
https_://transpa.rent/site/assets/product_img/346/cache/Photo_2021-06-22_w600.jpg?123

My understanding is 304 means that the resource is not modified, and thus doesn’t have to be fetched. But if that’s the case, then Cloudflare must have at some point cached a non-existing/empty file. Could that be managed somehow?

Any suggestions on what could be done to solve this?

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