What das Smarty cache/compile
| From: | akorthaus at web dot de | Date: | Sat, 11 Jan 2003 15:09:30 +0000 |
| Subject: | What das Smarty cache/compile | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7129@lists.php.net to get a copy of this message | ||
Hi!
One question:
I want to use smart for a DB-based page, which often changes. I think smarty
will compile the templates, so that the PHP-code always is parsed, and I
always get my actual data from database. But what about caching?
Does smarty cache the code so that the database isn't asked each time the
script is called?
If it does not, why is there the function "insert"?
kind regards
Andreas