Refresh thumbs delete cache files if no image files exist
Posted: 11 Nov 2022 17:03
I ran across this statement the other day in Help, in View menu -> Caches (Submenu)
Refresh Thumbnails. The statement: "When a list no items with thumbnails but a pair of thumbnail cache files for it still exists (for images that are not here anymore) calling "Refresh Thumbnails" will permanently delete those thumbnail cache files".
I wasn't aware of this, so I ran some tests. It's relatively easy to check. Load a temp folder with some JPGs. Change the view to a thumbnail view. Make sure the cache files are generated. Now go ahead and delete the files. Check to see that the thumbnail files still exist. Return to the same thumbnail view (if necessary). Now run "Refresh thumbnails" from the menu. The cache files (ini and dbits) remain, and they are present even after a restart. Deleting all the images (all the files) or the entire folder does not remove the cache files.
Not a huge deal Don, I wasn't aware the statement existed. Maybe the transition to "ini" files affected this or maybe it never worked? In any case, it doesn't work now, and as mentioned, deleting entire folders does not remove the cache files.
Maybe the statement needs to be deleted, but it actually could be a good idea especially in scripting, deleting all the image files and running CID #501 to clean out the cache files - if it worked. Thanks.
Refresh Thumbnails. The statement: "When a list no items with thumbnails but a pair of thumbnail cache files for it still exists (for images that are not here anymore) calling "Refresh Thumbnails" will permanently delete those thumbnail cache files".
I wasn't aware of this, so I ran some tests. It's relatively easy to check. Load a temp folder with some JPGs. Change the view to a thumbnail view. Make sure the cache files are generated. Now go ahead and delete the files. Check to see that the thumbnail files still exist. Return to the same thumbnail view (if necessary). Now run "Refresh thumbnails" from the menu. The cache files (ini and dbits) remain, and they are present even after a restart. Deleting all the images (all the files) or the entire folder does not remove the cache files.
Not a huge deal Don, I wasn't aware the statement existed. Maybe the transition to "ini" files affected this or maybe it never worked? In any case, it doesn't work now, and as mentioned, deleting entire folders does not remove the cache files.
Maybe the statement needs to be deleted, but it actually could be a good idea especially in scripting, deleting all the image files and running CID #501 to clean out the cache files - if it worked. Thanks.