Re: [SMARTY-DEV] Structure of cache-dir
| From: | messju mohr | Date: | Thu, 27 May 2004 07:18:37 +0000 |
| Subject: | Re: [SMARTY-DEV] Structure of cache-dir | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-2318@lists.php.net to get a copy of this message | ||
On Mon, May 24, 2004 at 12:01:00AM +0200, Nichlas Löfdahl wrote:
> Hello!
>
> May I suggest changing the directory-handling when it comes to caching?
>
> Currently I'm having over 19000 directories in the base cache-dir,
> wouldn't it be better if they were divided into subdirs with the 3
> first letters as prefix (i.e. total of maximum 4096 subdirs).
>
> cache/e7d/e7dca61b8e8a9150863bc06d70d1827d
>
> instead of
>
> cache/e7dca61b8e8a9150863bc06d70d1827d
I changed the creation of auto-filenames a little. please test!
greetings
messju
> /Nichlas