Re: Cache for a few templates
| From: | Andrei Zmievski | Date: | Mon, 01 Oct 2001 14:43:29 +0000 |
| Subject: | Re: Cache for a few templates | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1587@lists.php.net to get a copy of this message | ||
On Mon, 01 Oct 2001, LIMBOURG Arnaud wrote:
> Hello,
>
> Is it possible to use caching for just a few templates ?
>
> I use forms on my site to show choices to users but since the display is
> determined by what the user selected in the previous form i cannot use
> caching.
>
> However i have a few pages which content do not change very often (like a
> news template), is it possible to cache only those ??
Just set Smarty caching property to true/false, depending on which page
is being displayed.
-Andrei
"Everything should be made as simple
as possible, but not simpler."
-- Albert Einstein