RE: [SMARTY-DEV] Re: [SMARTY] Cache cleanup
| From: | Peter Bowyer | Date: | Mon, 17 Jun 2002 19:21:56 +0000 |
| Subject: | RE: [SMARTY-DEV] Re: [SMARTY] Cache cleanup | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-154@lists.php.net to get a copy of this message | ||
At 14:12 17/06/02 -0500, Gary Loescher wrote:
Nuts...well, what about the probability solution I suggested earlier? (cache cleanup fired at some % probability on every Smarty invocation ala PHP gc_probability). Then there would be random slowdowns for the people using it, but that would be the price for letting Smarty handle it.And the option for those that need the performance of turning this off and running something via crontab. The problem is that we need to have something built into Smarty for those users that don't have crontab access (I don't on all my servers) so they can still use the cache without having to FTP in once a week and delete the cache. Maybe Andrei could fix the problem with register_shutdown_function() :-) *** Please note the change of email address ***