mirror of
https://github.com/smarty-php/smarty.git
synced 2025-10-18 23:15:21 +02:00
more linking and WS from Peter
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
<sect1 id="caching.setting.up">
|
||||
<title>Setting Up Caching</title>
|
||||
<para>
|
||||
The first thing to do is enable caching. This is done by setting <link
|
||||
linkend="variable.caching">$caching</link> = true (or 1.)
|
||||
The first thing to do is enable caching by setting <link
|
||||
linkend="variable.caching">$caching</link> = true (or 1.)
|
||||
</para>
|
||||
<example>
|
||||
<title>enabling caching</title>
|
||||
@@ -49,7 +49,7 @@ $smarty->display('index.tpl');
|
||||
linkend="variable.cache.lifetime">$cache_lifetime</link> for details.
|
||||
</para>
|
||||
<example>
|
||||
<title>setting cache_lifetime per cache</title>
|
||||
<title>setting $cache_lifetime per cache</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
@@ -150,7 +150,7 @@ $smarty->display('index.tpl');
|
||||
You can clear all the cache files with the <link
|
||||
linkend="api.clear.all.cache">clear_all_cache()</link> function, or
|
||||
individual cache files (or groups) with the <link
|
||||
linkend="api.clear.cache">clear_cache()</link> function.
|
||||
linkend="api.clear.cache">clear_cache()</link> function.
|
||||
</para>
|
||||
<example>
|
||||
<title>clearing the cache</title>
|
||||
@@ -175,7 +175,7 @@ $smarty->display('index.tpl');
|
||||
</example>
|
||||
|
||||
</sect1>
|
||||
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
Reference in New Issue
Block a user