j_he When i replace the _filespreview.jpg in a folder, the thumbnail is still the old one.
I have checked this, and it's your browser cache. If you try to load the page in a new "private" window (or Chrome "incognitio"), you will see it shows the new _filespreview.jpg
. It also gets resolved if you update the parent folder , adding or removing a file, or running touch dirname
from linux/Mac. It gets fixed when you updated the parent folder, because Files Gallery then reloads the folders and dates for that page, and can force-refresh cached preview images.
I guess this is not optimal, but this is how browser cache generally works. The only other option would be to never cache files named _filespreview.jpg
and always force reload in browser, but this is not optimal.
Just to conclude, you can empty browser cache, or disable cache
option in Files Gallery, or update the parent folder. All these options will force a reload of preview images in folders that are updated. Unless you do that, your browser will load a cached version, because although you replaced the file, the path is the same, and your browser will cache paths.