I solved the issue and the problem was not due to the cache but to the forced resizing of the image from rectangular to square (I've found in the medium.php '$width = $height = 280'... why this?)
My new picture was a rectangular version of the old version image (square); when the rectangular image was resized to square, it looks like the original one as the difference was just a white background.