Xanashi -
Hello ! I hope this message finds you doing well ! Still a big fan and heavy user of your excellent application ! Many Thanks again.
Speaking of the cache. I admit I don't have a very good idea of how the cache is "maintained" or if and when it gets "updated." So I was hoping you could provide a little insight into how it functions at the core of this app. I'm assuming that the cache is essentially, I guess I would call a catalog of all the thumbnails generated by Icaros and used by various Windrows & apps that use or offer thumbnails to the user. Is it correct then that this cache stores the data regarding the thumbnails, but also the location/storage of the file that was the source used to generate that thumbnail ?? If so, then what happens if that source file is moved to another drive or network path ? Is another entry made in the cache to reflect that move ? or is the existing entry updated ?? I"m guessing it's not updated if they were able to fill the cache and then it stopped updating.
Ultimately, I guess I've always had the idea that if I did significant amount of clean up and moving of files that had thumbnails via Icaros, that after finishing that clean up and re-arranging of locations, that I should clear the entire cache in Icaros and let it start all over again from scratch. Is that a good idea, or am I completely lost in left field on this ??
Your thoughts... insights.. suggestions... Greatly appreciated!
Again, hope all is well and thank you for all your hard work on this.
Regards,
Matt R.
Xanashi
(02-21-2024, 02:15 AM)kxmp Wrote: I think it's better to overwrite the old cache?
If it don't update when it's fully filled then this cache become totally static cache!!
I think here is some way to measure how to overwrite the old cache.
1. Based on the hit rate. The cache with higher hit rate won't get overwrite.
The overwrite starts with cache with lowest hit rate.
I think this way is the best. Because it save the "active" cache and abandon the "inactive" old cache.
2. Based on last access time. This way is not too clever but faster.
Hi kxmp,
This is a very valid feature request, and definitely a scenario I haven't considered.
Unfortunately, the Icaros Cache currently doesn't store usage or date data, so it would require a bit of work to implement this feature.
Could you add it as a feature request on the
Icaros Github.
I have a few features I would like to finish first, but I can take a look at it later down the line.