cvs: smarty /docs/en/programmers/caching caching-cacheable.xml
[email protected] ("Messju Mohr") Sat, 10 Dec 2005 08:54:14 -0000
| Newsgroups | php.smarty.cvs |
|---|---|
| Message-ID | <cvsmessju1134204854@cvsserver> |
messju Sat Dec 10 03:54:14 2005 EDT
Modified files:
/smarty/docs/en/programmers/caching caching-cacheable.xml
Log:
fixed linking
http://cvs.php.net/diff.php/smarty/docs/en/programmers/caching/caching-cacheable.xml?r1=1.7&r2=1.8&ty=u
Index: smarty/docs/en/programmers/caching/caching-cacheable.xml
diff -u smarty/docs/en/programmers/caching/caching-cacheable.xml:1.7 smarty/docs/en/programmers/caching/caching-cacheable.xml:1.8
--- smarty/docs/en/programmers/caching/caching-cacheable.xml:1.7 Sun Jun 5 11:47:25 2005
+++ smarty/docs/en/programmers/caching/caching-cacheable.xml Sat Dec 10 03:54:14 2005
@@ -1,27 +1,23 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<sect1 id="caching.cacheable">
<title>Controlling Cacheability of Plugins' Output</title>
- <para>
- Since Smarty-2.6.0 plugins the cacheability of plugins can be declared
- when registering them. The third parameter to
- <link linkend="api.register.block">register_block()</link>,
- <link
+ <para>
+ Since Smarty-2.6.0 plugins the cacheability of plugins can be
+ declared when registering them. The third parameter to <link
+ linkend="api.register.block">register_block()</link>, <link
linkend="api.register.compiler.function">register_compiler_function()
- </link> and
- <link linkend="api.register.block">register_function()</link> is called
- <parameter>$cacheable</parameter> and defaults to true which is also
- the behaviour of plugins in Smarty versions before 2.6.0
+ </link> and <link
+ linkend="api.register.function">register_function()</link> is
+ called <parameter>$cacheable</parameter> and defaults to true which
+ is also the behaviour of plugins in Smarty versions before 2.6.0
</para>
-
-
<para>
When registering a plugin with $cacheable=false the plugin is
called everytime the page is displayed, even if the page comes
from the cache. The plugin function behaves a little like an
<link linkend="plugins.inserts">insert</link> function.
</para>
-
<para>
In contrast to <link linkend="plugins.inserts">insert</link>
the attributes to the plugins are not cached by default. They can be