Re: A smarter way to handle directories (and URLs)
Reply #3 –
Don't forget about avatars ... the custom dir stuff should be removed and simply have a sane directory spot for them.
Agree on the overkill of the attachments, all the date, year, month separation seemed good on the surface but its really a maintenance and site move problem, even repair_settings does not deal with it 100% properly. I'd say a base dir and then separate by year ... drop the size of directory or number of files, most of that was probably for fat32 file systems.
Re: A smarter way to handle directories (and URLs)
Reply #5 –
Last I heard kode54 had a parting of the ways with hydrogenaudio
No harm in leaving the settings, they are just ones I've never had reason to use, but then I only deal with around 10k files in each "year" sub-dir. You may be more likely to reach a performance issue with avatars since they are all in one directory and are fetched more frequently since they are shown in a lot of areas.
Re: A smarter way to handle directories (and URLs)
Reply #6 –
Oh, that's too bad. It's a site I sometimes like to check before buying music on Qobuz or CD. But I don't think I have an account even though I've probably glanced at it on and off since '04.
Re: A smarter way to handle directories (and URLs)
Reply #8 –
By year is useful information all by itself without needing anything else, but it's only a very mild preference.
Re: A smarter way to handle directories (and URLs)
Reply #12 –
You store the forum attachments by year and month? Sounds interesting, but how does it work?
Re: A smarter way to handle directories (and URLs)
Reply #13 –
there is a setting in Admin -> Forum -> Attachments and avtars -> Attachment Settings
Re: A smarter way to handle directories (and URLs)
Reply #14 –
I don't really care that much so long all transitions from the old version are smooth, efficient and fully covered in all possible aspects.
Don't forget about CDN. I hope that that all default static contents for Elkarte may be served from a CDN as an option in the future.