Naming of caching database

Ideas for improvements and requests for new features in XnView Classic

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Naming of caching database

Post by helmut »

Currently, the database containing the cached thumbnails is named "xnview.db". For all I know the database contains nothing but cached info - deleting it should do not harm apart from performance decrease because XnView will have to rebuild the thumbnails when revisiting folders.

I propose to rename the database "xnview.db" to something like "cache.db" or "xnview-cache.db". This way users can easily see what the file contains and delete it if needed.

@Pierre:
Does the database "xnview.db" contain anything apart from cached thumbnails?
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Naming of caching database

Post by xnview »

helmut wrote:@Pierre:
Does the database "xnview.db" contain anything apart from cached thumbnails?
Yes rating & color label
Pierre.
pic_viewer
Posts: 251
Joined: Sat Nov 17, 2007 7:53 am
Location: Germany

Re: Naming of caching database

Post by pic_viewer »

xnview wrote:
helmut wrote:@Pierre:
Does the database "xnview.db" contain anything apart from cached thumbnails?
Yes rating & color label
And hopefully the categories as well?

As new user I would hesitate to delete this file and use the internal options instead (browser/thumbnail/cache). These were one reason I began to use XnView. Easy to understand and everything where it should be...
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Naming of caching database

Post by helmut »

xnview wrote:
helmut wrote:@Pierre:
Does the database "xnview.db" contain anything apart from cached thumbnails?
Yes rating & color label
O.k. Is there a reason why ragins and colour labels info is stored in a xnview.db wheras category information isn't?
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Naming of caching database

Post by xnview »

helmut wrote:
xnview wrote:
helmut wrote:@Pierre:
Does the database "xnview.db" contain anything apart from cached thumbnails?
Yes rating & color label
O.k. Is there a reason why ragins and colour labels info is stored in a xnview.db wheras category information isn't?
rating & label are stored with file info in xnview.db, category tree is not yet stored in it. In the future, i'll put categories in the same db...
Pierre.
Post Reply