Tweak for cached folder sizes

Features wanted...
highend
Posts: 14641
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Tweak for cached folder sizes

Post by highend »

I really like the new caching algorithm for folder sizes but may I request a tweak that allows us to enter
folders / drives, separated by "|" where caching doesn't automatically apply / is blocked?

Like:
DoNotCache=F:\Downloads|T:\
One of my scripts helped you out? Please donate via Paypal

kunkel321
Posts: 653
Joined: 10 Jun 2012 03:45
Location: Near Seattle

Re: Tweak for cached folder sizes

Post by kunkel321 »

+1
ste(phen|ve) kunkel
Scaling: Main monitor 125%, Secondary monitor on the right 100%
OS: Win 10. XYplorer version: Latest beta, unless specified.

eil
Posts: 1827
Joined: 13 Jan 2011 19:44

Re: Tweak for cached folder sizes

Post by eil »

+1 and maybe one day this option should get a list in UI
Win 7 SP1 x64 100% 1366x768|1900x1080

admin
Site Admin
Posts: 65267
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Tweak for cached folder sizes

Post by admin »

OK (tweak for now). :tup:

BTW, I'm tempted to store the cache across sessions. What do you think?

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Tweak for cached folder sizes

Post by LittleBiG »

I for one wouldn't use that option, because the resetting is a good safety belt against the stale folders. My folder sizes can be only one day old now in the worst case. More would be risky.

By the way, do you store the cache in the memory? Because I have a computer with bit older hard drive and getting folder sizes from the cache seems a bit slow.

highend
Posts: 14641
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Tweak for cached folder sizes

Post by highend »

BTW, I'm tempted to store the cache across sessions
+1. As an option please (for those who wouldn't use it). I would (because I have drives which content only changes very infrequently)
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 65267
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Tweak for cached folder sizes

Post by admin »

LittleBiG wrote:By the way, do you store the cache in the memory? Because I have a computer with bit older hard drive and getting folder sizes from the cache seems a bit slow.
Yes, memory.

highend
Posts: 14641
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Tweak for cached folder sizes

Post by highend »

The tweak doesn't seem to work?

I currently use:
CacheFolderSizesExclude=C:\|T:\

And when I switch to the T:\ drive (2,5 SATAIII) the status line states:
getting folder sizes...(ESC to stop)

until it has calculated all values (> 20 seconds)

The same for the C:\ drive (although it only takes about 3 - 5 seconds (ssd))
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 65267
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Tweak for cached folder sizes

Post by admin »

Well, that was the idea, right? Folder Sizes are always freshly calculated.

highend
Posts: 14641
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Tweak for cached folder sizes

Post by highend »

Emmmh, I meant something different but when I read my first post...

What I was really :whistle: requesting (at least that's what I wanted) was a tweak to block folder size calculation on specific folders / drives. Sorry, my fault!
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 65267
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Tweak for cached folder sizes

Post by admin »

highend wrote:Emmmh, I meant something different but when I read my first post...

What I was really :whistle: requesting (at least that's what I wanted) was a tweak to block folder size calculation on specific folders / drives. Sorry, my fault!
I found the request totally meaningful!

So what you really wanted is pretty much the opposite? :biggrin: Dunno... too much tweaking for my taste. You can handle this by using different tabs or by FVS.

highend
Posts: 14641
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Tweak for cached folder sizes

Post by highend »

Sure, the current tweak is useful (for folders where you need the exact size at all times), no doubt about it.

But when somebody uses:
Configuration | Tree and List | List | Always show folder sizes in lists

it makes sense to exclude folders / drives as well where you're not interested in their size, e.g. because you have
- Enough space on them anyway
- Want to calculate size only on specific folders manually (when you really need it)

The caching feature is great because now I can use the automatic calculation enabled at all times but on large drives
with lots of data but where the content changes only from time to time (backup drives for example) it hinders you
from working when the calculation takes place. And no, always pressing ESC isn't really an option :)

Anybody else who would find that useful as well?
One of my scripts helped you out? Please donate via Paypal

Filehero
Posts: 2721
Joined: 27 Feb 2012 18:50
Location: Windows 11@100%

Re: Tweak for cached folder sizes

Post by Filehero »

highend wrote:Anybody else who would find that useful as well?
Yes!

But before: thanks for the caching idea and implementation! :appl:

My scenario: 3x SSD, 1x (2x) 5.400rpm HD (backups only)

I want to show ad-hoc calculated folder sizes for all SSDs everywhere and all the time (even for the Lightroom catalogu including the referenced images).

But I want to show cached folder sizes on the entire HD only (calculated once per session or on demand). During my backup sessions (twice per week with visual checks afterwards) I switch on my 2nd external backup HD, and then it gets painfully slow (and loud :mrgreen: ). Yeah, having to hit <esc> each time is somewhat annoying then.

Cheers,
Filehero

highend
Posts: 14641
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Tweak for cached folder sizes

Post by highend »

Thanks for the "retweak" :tup:
One of my scripts helped you out? Please donate via Paypal

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Tweak for cached folder sizes

Post by LittleBiG »

admin wrote:OK (tweak for now). :tup:

BTW, I'm tempted to store the cache across sessions. What do you think?
I have changed my mind. +1 too.

Post Reply