RE: [SMARTY-DEV] Re: [SMARTY] Cache cleanup
| From: | Gary Loescher | Date: | Mon, 17 Jun 2002 20:42:16 +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-156@lists.php.net to get a copy of this message | ||
>
> And the option for those that need the performance of turning
> this off and
> running something via crontab.
>
You would turn it off by setting cache cleanup probability to 0
in the Smarty class.
> 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.
The probability-based cleanup would be built into Smarty.