Option to auto remove unused cache items after X days...
Moderators: XnTriq, helmut, xnview
Option to auto remove unused cache items after X days...
Please add an option to auto remove unused cache items after X number of days [similar to how web cache is handled by web browsers]. This will make cache maintenance a lot easier. Thanks.
-
- XnThusiast
- Posts: 4441
- Joined: Sun Oct 17, 2004 4:57 am
- Location: Bordeaux, France
I support
Hello !
• I support this proposal!
- I guess it might be configurable at the days amount.
- To avoid Options pages as so full as eggs, it could be simply an INI entry, since we have not any need to change it very often, something like :
Kind regards,
Claude
Clo
• I support this proposal!
- I guess it might be configurable at the days amount.
- To avoid Options pages as so full as eggs, it could be simply an INI entry, since we have not any need to change it very often, something like :
where "Flag" is the period between the purges in days …ClearChacheEach = Flag
Kind regards,
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice •
Re: I support
It's would be nice to have the numbers of days input field in the cache category.
-
- XnThusiast
- Posts: 4441
- Joined: Sun Oct 17, 2004 4:57 am
- Location: Bordeaux, France
Why not ?
Yes, this is quite conceivable too and should be handy, but needs to add some stuff (a few, most certainly) to the programme, and then into N… language-DLLs, causing an extra-job to Pierre who is already overworked…
KR
Claude
Clo
KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice •
-
- XnThusiast
- Posts: 1423
- Joined: Thu Dec 23, 2004 7:17 pm
- Location: Paris, France
-
- XnThusiast
- Posts: 2577
- Joined: Tue Feb 17, 2004 1:11 am
- Location: QLD, Australia
Yes, forgot to mention the cache size limit. But it should also allow unlimited cache size [when set to 0], so it won't interfere with amount of cached items in x days for some people.Olivier_G wrote:You should be able to specify: Remove Cache unused after X days and Limit Cache to Y MB (based on last use and frequency...).
Those options should appear directly in the Options 'Cache' window.
Olivier
-
- XnThusiast
- Posts: 4441
- Joined: Sun Oct 17, 2004 4:57 am
- Location: Bordeaux, France
Go to R… ?
—> Olivier_G
Hello !
KR
Claude
Clo
Hello !
<½Joke>This is part of GUI, so I agree if you go to help Pierre for the whole series of language-DLLs to update… Not too far for you, just 150 km </½joke>Those options should appear directly in the Options 'Cache' window.
KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice •
-
- Posts: 652
- Joined: Tue Nov 23, 2004 10:17 pm
- Location: Poland
-
- Posts: 578
- Joined: Sat Sep 04, 2004 5:09 pm
I like the 'Limit Cache to y MB' idea. I do not like the threadstarter's idea. Why throw out thumbnails simply because they've been created a long time ago? Doesn't make sense to me.Olivier_G wrote:You should be able to specify: Remove Cache unused after X days and Limit Cache to Y MB (based on last use and frequency...).
Those options should appear directly in the Options 'Cache' window.
Olivier
-
- XnThusiast
- Posts: 1423
- Joined: Thu Dec 23, 2004 7:17 pm
- Location: Paris, France
I was thinking about the most restrictive one only (it should at least be the default behaviour, otherwise people may not understand why their last setting is not applied) and 0=unlimited being superseded by the other setting.Xyzzy wrote:And how should they cooperate? Most restrictive first? Least restrictive first? Selectable? One with set value supersedes the other set to 0?
It could also be something like this, if you want more flexibility:
Code: Select all
Remove from Cache: when unused after [X] days - [ OR|v] - to limit Cache to [Y] MB
[AND| ]
(dropdown list)
PS1: I believe some people are more confortable with "I'm not going to check that often files older than 2 weeks, because it's the way I work..." rather than "367MB is my limit today"... -> therefore both settings seems useful.
PS2: Limiting Cache to [Y] MB may be tricky: which files to remove? Consider last access? How often? Filesize? Filetype?...
And limiting to cache size can be a bad idea. Imagine some of your recent cache items being thrown out because you reached your cache size limit too soon.Danny wrote:I like the 'Limit Cache to y MB' idea. I do not like the threadstarter's idea. Why throw out thumbnails simply because they've been created a long time ago? Doesn't make sense to me.Olivier_G wrote:You should be able to specify: Remove Cache unused after X days and Limit Cache to Y MB (based on last use and frequency...).
Those options should appear directly in the Options 'Cache' window.
Olivier
-
- Posts: 8705
- Joined: Sun Oct 12, 2003 6:47 pm
- Location: Frankfurt, Germany
A large cache can be a nuisance due to its size. And access to it might be even slower (not necessarily).
I like the idea of setting a cache limit and kicking out oldest entries from cache.
A limitation with date would be the deluxe version, but it will make things more complicated than actually needed. So I'd prefer the normal version (without maximum period for old entries).
I like the idea of setting a cache limit and kicking out oldest entries from cache.
A limitation with date would be the deluxe version, but it will make things more complicated than actually needed. So I'd prefer the normal version (without maximum period for old entries).