REQ: Limit Cache Option

Ideas for improvements and requests for new features in XnView Classic

Moderators: XnTriq, helmut, xnview

Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

REQ: Limit Cache Option

Post by Dreamer »

I suggest these options for Cache:

[x] Use maximal [X] MB for cache (then, first delete oldest items)

[x] Automatically delete items in cache older than [X] days

...or better [x] Automatically delete items in cache not used for more than [X] days

Moved
helmut wrote:What really would be worth thinking of is some aging and/or limit. At the moment I have the feeling that the cache just fills up and caches thumbnails regardless of their size (even 300x300 pixels). If there isn't a limit for cache size, already, a limit should be introduced. And from time to time XnView should do some optimization automatically (perhaps ask user first).
Last edited by Dreamer on Fri May 27, 2005 8:39 pm, edited 1 time in total.
Danny
Posts: 578
Joined: Sat Sep 04, 2004 5:09 pm

Post by Danny »

Pretty good idea.
User avatar
xnview
Author of XnView
Posts: 44304
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: RC1: REQ: Limit Cache Option

Post by xnview »

Dreamer wrote:I suggest these options for Cache:

[x] Use maximal [X] MB for cache (then, first delete oldest items)

[x] Automatically delete items in cache older than [X] days

...or better [x] Automatically delete items in cache not used for more than [X] days

Moved
helmut wrote:What really would be worth thinking of is some aging and/or limit. At the moment I have the feeling that the cache just fills up and caches thumbnails regardless of their size (even 300x300 pixels). If there isn't a limit for cache size, already, a limit should be introduced. And from time to time XnView should do some optimization automatically (perhaps ask user first).
Yes, but for a future release.
Pierre.
User avatar
GeorgD
Posts: 291
Joined: Thu Oct 12, 2006 2:45 pm

Re: RC1: REQ: Limit Cache Option

Post by GeorgD »

xnview wrote:Yes, but for a future release.
Just wanted to bring it to top again :) Especially nice if XnView is used on portable drives, as paths change often = age = old cache entries are usesless.

I vote for MB upper limit, as this is very easy to recognize when writing to cache, whereas age limit requires checking of existing entries and also removes stuff when having been in holidays = no changes occoured.
In the XnView Wiki, you can improve the user guide / documentation / F1-help for XnView (classic/Windows) and for XnViewMP
Jou
Posts: 60
Joined: Sat Nov 03, 2007 9:38 pm

Re: REQ: Limit Cache Option

Post by Jou »

I vote for ANY of the two, either by "last viewed age, XX days" or by "XX MB", my thumbnail cache often grows above 200 MB, xnview itself is still lightning fast then, but CLOSING xnview takes over 10 seconds, and this is a really fast machine.

Joachim
Gaming in 4k / 6k / 8k / 15k / 16k? Yes! https://joumxyzptlk.de
weiv
Posts: 12
Joined: Tue Jul 20, 2010 5:59 am

Re: REQ: Limit Cache Option

Post by weiv »

Hello,
It's 2010 and cache limit is still hasn't been implemented. At least not even in the latest version. What's going on devs? And this thread started over 5 years ago. That's a really long time for such a feature present in other alternative apps.
User avatar
xnview
Author of XnView
Posts: 44304
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: REQ: Limit Cache Option

Post by xnview »

weiv wrote:It's 2010 and cache limit is still hasn't been implemented. At least not even in the latest version. What's going on devs? And this thread started over 5 years ago. That's a really long time for such a feature present in other alternative apps.
Yes i know but i'm very busy.... Which alternative apps do you means?
Pierre.
weiv
Posts: 12
Joined: Tue Jul 20, 2010 5:59 am

Re: REQ: Limit Cache Option

Post by weiv »

xnview wrote: Yes i know but i'm very busy.... Which alternative apps do you means?
Imagine from nyam for example, http://www.nyam.pe.kr/phpBB3/viewtopic.php?f=2&t=14