Discussion Forum: Thread 291496

 Author: misbi View Messages Posted By misbi
 Posted: Jun 17, 2021 14:30
 Subject: BrickStore local image cache
 Viewed: 70 times
 Topic: Related Software
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

misbi (8768)

Location:  United Kingdom, Scotland
Member Since Contact Type Status Collage
Nov 25, 2001 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
View Collage Pic
Store: Brickshop UK
Anybody know how to find or set the BrickStore local cache?

With BrickStock the cache directory was user selectable under ExtrasConfigureCache

but I don't see the option to set this with BrickStore.
 Author: sandman View Messages Posted By sandman
 Posted: Jun 17, 2021 19:42
 Subject: Re: BrickStore local image cache
 Viewed: 28 times
 Topic: Related Software
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

sandman (2548)

Location:  Germany, Bayern
Member Since Contact Type Status
Jan 15, 2003 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Brickforge
In Related Software, misbi writes:
  Anybody know how to find or set the BrickStore local cache?

With BrickStock the cache directory was user selectable under ExtrasConfigureCache

but I don't see the option to set this with BrickStore.

Back in 2003 when I wrote the original BrickStore there were no standards on
where to put cache files on all the supported platforms. So I choose a suitable
location, but let the user change it.

Nowadays each platforms defines exactly what has to go where and for cache data
this is:

macOS: ~/Library/Caches/Brickstore
Windows: C:/Users//AppData/Local/Brickstore/cache
Linux: ~/.cache/Brickstore

cu
Robert
 Author: misbi View Messages Posted By misbi
 Posted: Jun 18, 2021 04:41
 Subject: Re: BrickStore local image cache
 Viewed: 31 times
 Topic: Related Software
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

misbi (8768)

Location:  United Kingdom, Scotland
Member Since Contact Type Status Collage
Nov 25, 2001 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
View Collage Pic
Store: Brickshop UK
In Related Software, sandman writes:
  In Related Software, misbi writes:
  Anybody know how to find or set the BrickStore local cache?

With BrickStock the cache directory was user selectable under ExtrasConfigureCache

but I don't see the option to set this with BrickStore.

Back in 2003 when I wrote the original BrickStore there were no standards on
where to put cache files on all the supported platforms. So I choose a suitable
location, but let the user change it.

Nowadays each platforms defines exactly what has to go where and for cache data
this is:

macOS: ~/Library/Caches/Brickstore
Windows: C:/Users//AppData/Local/Brickstore/cache
Linux: ~/.cache/Brickstore

cu
Robert

That's great thanks 👍
Now just have to figure out that folder naming.
Seems like it's not sha1 hash encode of part number 1st 2 characters now
🙄