Re: [SMARTY] Caching parts of a page
| From: | Andrei Zmievski | Date: | Mon, 22 Apr 2002 19:55:26 +0000 |
| Subject: | Re: [SMARTY] Caching parts of a page | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3841@lists.php.net to get a copy of this message | ||
On Mon, 22 Apr 2002, Ivo Jansch wrote:
> Therefor, it would be nice if we could specify for each
> function/plugin/tag, if it is cachable or not. Would this be feasible?
Who would specify it? You, the programmer? The designer?
You can write a custom function and handle caching stuff yourself. It's
pretty simple, just gather up content, write out a cache file and then
keep using the file until it expires.
-Andrei
* Marriage is not a word. It's a sentence. Life-long sentence. *