We are seeing webp images sometimes being a 0 byte file. Clearly something went wrong with it, and this causes the images to not load as they are corrupted.
This is happening on private files that are user-uploaded on a webform. When the admin comes to look at them, about half of them are not loading (generally it seems to be large files, so dunno if it's timing out or something).
I haven't been able to reproduce the problem.
We can regenerate the webp file if it is 0 bytes. It makes sense to do so because it should never be 0 bytes.
Active
1.0
Code