Re: idea for smarty function
| From: | Monte Ohrt | Date: | Wed, 11 Apr 2001 13:29:59 +0000 |
| Subject: | Re: idea for smarty function | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-524@lists.php.net to get a copy of this message | ||
What would the purpose of this be? Force a template to regenerate its
cache or something? You can already clear the cache for a template,
which would make it regenerate on the next page load.
Maybe are you thinking of an automated way to regenerate all the caches?
If you do this from the command line, it may not produce the desired
results since environment variables from the web server would not be
present, which may affect the application output.
taliku@balcab.ch wrote:
>
> Hello!
>
> I have an idea for a new smarty function. Perhaps it's a good one :-)
>
> Make a new function:
>
> something like "make_chache()" to generate a chached file.
>
> Or is there a way i could make it myself, but with all the smarty features
> like the expire date, CacheID, etc?
>
> -taliku
>
> ---
> You are currently subscribed to smarty as: monte@ispi.net
> To unsubscribe send a blank email to $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/
--
Monte Ohrt <monte@ispi.net>
http://www.ispi.net/