[prev in list] [next in list] [prev in thread] [next in thread] 

List:       smarty-dev
Subject:    Re: [SMARTY-DEV] Structure of cache-dir
From:       messju mohr <messju () lammfellpuschen ! de>
Date:       2004-05-27 7:18:37
Message-ID: 20040527071837.GA22407 () pharao ! serveftp ! org
[Download RAW message or body]

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

-- 
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic