Cached downsized images not removed from the storage
It appears that we don’t remove downsized images when deleting the main image. I still can see dangling files with %size% suffix.
It appears that we don’t remove downsized images when deleting the main image. I still can see dangling files with %size% suffix.
As I remember it. was a trigger to remove them.
does not work as expected, I’ve just tried - have an image and two small images (64px and 256px), after the fullsize image is deleted, I still can see small images in minio.
Prefixes work only when a proper delimiter is used, for JS minio client delimiter is hardcoded to /
https://github.com/minio/minio-js/blob/b109cdb0ce228b134620433fe3d8f41ac9be2d4d/src/minio.js#L365
But if we start using / as a delimiter, we won’t be able to access the original image - the prefix is a folder, and can’t be file.