Setting to Never Cache Certain Folders

Ideas for improvements and requests for new features in XnView Classic

Moderators: XnTriq, xnview

Post Reply
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Setting to Never Cache Certain Folders

Post by JohnFredC » Sun Oct 23, 2005 6:44 pm

I would like to automatically exclude certain folders (and certain drives) from the XnView thumbnail cache.

Please consider implementing a "black list" functionality for folders for which XnView should never cache the thumbs...
John

User avatar
Olivier_G
XnThusiast
Posts: 1423
Joined: Thu Dec 23, 2004 7:17 pm
Location: Paris, France
Contact:

Post by Olivier_G » Sun Oct 23, 2005 10:09 pm

Good idea. :D

Olivier

User avatar
xnview
Author of XnView
Posts: 31918
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Setting to Never Cache Certain Folders

Post by xnview » Mon Oct 24, 2005 8:11 am

JohnFredC wrote:I would like to automatically exclude certain folders (and certain drives) from the XnView thumbnail cache.

Please consider implementing a "black list" functionality for folders for which XnView should never cache the thumbs...
The folder cache must be rewritten in a future release...
Pierre.

User avatar
wOxxOm
Posts: 26
Joined: Sun Mar 11, 2007 1:29 pm
Contact:

Post by wOxxOm » Mon Dec 17, 2007 4:27 pm

Any progress on this extraordinary useful feature?

ckit
XnThusiast
Posts: 2444
Joined: Tue Feb 17, 2004 1:11 am

Re: Setting to Never Cache Certain Folders

Post by ckit » Tue Dec 18, 2007 1:04 am

JohnFredC wrote:I would like to automatically exclude certain folders (and certain drives) from the XnView thumbnail cache.

Please consider implementing a "black list" functionality for folders for which XnView should never cache the thumbs...
You have my FULL support on this one!
Windows 10 Pro x64 1903
XnViewMP and Classic and PhotoFiltre Studio X

User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Post by JohnFredC » Tue Dec 18, 2007 2:45 pm

Other useful options have occurred to me in the years since my original suggestion:

1. Option: Do not cache thumbs for folders with fewer than n images
2. Option: Do not cache thumbs of images with filesize < n bytes
3. Option: Do not cache thumbs of images with dimensions < a certain size (such as 320x200, par example)

A generic dialog (a la TC) for named filter definition would simplify this. Then one could specific explicitly which folders to cache or black-list using a named filter definition to exclude matching folders or files.

Although this schema might seem over-kill to most users, my XnView thumbs cache is already 0.5Gb, so additional caching rules would help tame the beast.
John

User avatar
wOxxOm
Posts: 26
Joined: Sun Mar 11, 2007 1:29 pm
Contact:

Post by wOxxOm » Tue Dec 18, 2007 3:34 pm

JohnFredC, excellent conditions set. #2 & #3 often occur as very useful to me

User avatar
oops66
XnThusiast
Posts: 1999
Joined: Tue Jul 17, 2007 1:17 am
Location: France

New Cache function: Exclude all excepted...

Post by oops66 » Thu Nov 27, 2008 5:29 pm

Or probably easier to do, a new cache function: "Exclude all excepted these folders & sub-folders..." ?
http://newsgroup.xnview.com/viewtopic.php?p=69116#69116
XnViewMP 0.82 Linux X64 - Ubuntu 16.04 LTS - X64

bugmenot
Posts: 69
Joined: Sun Sep 16, 2007 10:29 pm

Post by bugmenot » Wed Dec 03, 2008 12:38 pm

I agree: a white list or black list will both work fine, whichever is easiest to program. Also even if the cache is turned off, I think you should read from it for thumbnails instead of generating them

pic_viewer
Posts: 251
Joined: Sat Nov 17, 2007 7:53 am
Location: Germany

Post by pic_viewer » Wed Dec 03, 2008 1:07 pm


User avatar
oops66
XnThusiast
Posts: 1999
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Post by oops66 » Thu Dec 04, 2008 8:21 am

Not only a black & white list but a composite list will be useful:

The easier way is to have a black and a white list for the cache, but a composite list will be better.
A- a White list do only that: Include these folders and subfolders
B- a black list do only that: Exclude these folders and subfolders

C- a composite list is useful in this case: "Exclude all excepted these folders & sub-folders..."

See here too:
http://newsgroup.xnview.com/viewtopic.php?p=66489#66489
XnViewMP 0.82 Linux X64 - Ubuntu 16.04 LTS - X64

Post Reply