Image variant cache is a problem (and might have gotten worse lately?)

I'm using CF images to serve user avatar images (I set the image id = the user id, it makes everything much simpler). When a user updates their avatar image the server deletes the old CF image and uploads a new one (via API) using the same image id. The problem is that the variant cache is really "sticky". Even if an image was delete in the dash console, the variant still serves it. I feel like this wasn't a a problem until very recently. Question: Is image variant cache not invalidated when image is deleted? Any other ideas? I'm at a loss here and this seems like a bug. My limited non AI brain tells me that image variant cache should be invalidated when image is deleted...
1 Reply
SuperHelpflare
SuperHelpflare3mo ago
Feedback
Feedback has been submitted! Thank you :)

Did you find this page helpful?