What is Smarty?
Why use it?
Use Cases and Work Flow
Syntax Comparison
Template Inheritance
Best Practices
Crash Course
You may use the Smarty logo according to the trademark notice.
For sponsorship, advertising, news or other inquiries, contact us at:
Persistent cache_id identifier. As an alternative to passing the same
$cache_id
to each and every function call, you can set this
$cache_id
and it will be used implicitly thereafter.
With a $cache_id
you can have multiple cache files for a single call to
display()
or fetch()
depending for example from different content
of the same template. See the
caching section for more information.