Re: [SMARTY-DEV] speed improvement idea: path caching
| From: | Wom.bat | Date: | Fri, 20 Jun 2003 21:26:11 +0000 |
| Subject: | Re: [SMARTY-DEV] speed improvement idea: path caching | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1638@lists.php.net to get a copy of this message | ||
[snipsnap]
yeah... good idea...
I think the best solution would be to use a most-frequently-used check and
to throw out the non-used paths, but this would be nonsense as every time
a file is read, the access would need to be logged... so my proposal is to
store the date, and then then throw out the oldest ones when a limit is
reached; this limit and the whole caching functionality should be
customizable,
of course ;)
David