Re: Structure of cache-dir
messju mohr <[email protected]>
| Newsgroups | gmane.comp.php.smarty.devel |
|---|---|
| Message-ID | <[email protected]> |
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