Re: [SMARTY] cache dir size
| From: | Monte Ohrt | Date: | Wed, 03 Jul 2002 20:14:26 +0000 |
| Subject: | Re: [SMARTY] cache dir size | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5183@lists.php.net to get a copy of this message | ||
This is a good point the more I think about it. CVS has been adjusted such that when $use_sub_dirs = true, the crc32() method will be used to break files into subdirectories just like previous versions. However, the filename will still reflect the template path instead of just '0.php'
This will keep the number of files per directory down, but it won't be immediately obvious where a particular cache/compile file lies. If you like the files to be where you can see them, set $use_sub_dirs = false.
Monte
eNotalone.com inc. wrote:
thanks for the reply but the question was not actually about cleaning etc. but scaling the cache dir. meaning how will smarty handle cache for 50.000 pages, will it put everything in the same directory. _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com-- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.