Skip to content

Separate cache hash length and folder depth #210

Discussion options

You must be logged in to vote

Dude. I’m not changing the cache.

Apologies... I need to stop reading these things first thing in the morning, I'm always grumpy.

If we make these changes we need to ensure that the default behavior is backwards compatible, we've got users out there with millions of cached files. I've already made changes to #206 to ensure that users can turn on the old behavior and keep their existing cache structure.

We have to do some sanity checking also to ensure that the depth cannot be greater than the hash.

Optionally: because the nested folders already contain the first n characters from the file name, these can be stripped from the final name, e.g. 027ee1e815be.meta (12 characters) could be st…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@ronaldbarendse
Comment options

@ronaldbarendse
Comment options

@ronaldbarendse
Comment options

@ronaldbarendse
Comment options

@hey-red
Comment options

Answer selected by JimBobSquarePants
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants