Re: How does compiling work?
| From: | Peter Bowyer | Date: | Fri, 28 Dec 2001 22:29:01 +0000 |
| Subject: | Re: How does compiling work? | ||
| Groups: | php.smarty.general php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-2436@lists.php.net to get a copy of this message | ||
At 02:01 PM 12/28/01 -0800, Brian E. Lozier wrote:
How can a compiled system such as this work? Is it doing all my database calls twice? Is it rebuilding the compiled template on each invocation of the script?Use the is_cached() function documented in the manual. in an if statement around the code. Peter. --oOo-- Narrow Gauge on the web - photos, directory and forums! http://www.narrow-gauge.co.uk --oOo-- Peter's web page - Scottish narrow gauge in 009 http://members.aol.com/reywob/ --oOo--