Re: [SMARTY] Caching for portals?
| From: | Peter Bowyer | Date: | Sun, 14 Apr 2002 18:05:51 +0000 |
| Subject: | Re: [SMARTY] Caching for portals? | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3708@lists.php.net to get a copy of this message | ||
At 05:05 PM 4/14/02 +0200, Linus McCabe wrote:
You can use the insert function to include parts of uncached data in cached content. You can also turn on and off cache for different display() or fetch() calls.The downside of the insert function is it means you have to split your template into many small files - something I dislike. A {nocache}...{/nocache} function was discussed, but nothing ever came of it iirc. While we're on the topic of caching, are the inserts now compiled into PHP code, or are they still matched using regular expressions and then the files manipulated? Peter. -- Maple Design - quality web design and programming http://www.mapledesign.co.uk