cvs: smarty /docs/en/programmers/caching caching-groups.xml caching-setting-up.xml

"Peter 'Mash' Morgan" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvspete_morgan1126628052@cvsserver>
pete_morgan		Tue Sep 13 12:14:12 2005 EDT

  Modified files:              
    /smarty/docs/en/programmers/caching	caching-groups.xml 
                                       	caching-setting-up.xml 
  Log:
  tweaks
  
http://cvs.php.net/diff.php/smarty/docs/en/programmers/caching/caching-groups.xml?r1=1.3&r2=1.4&ty=u
Index: smarty/docs/en/programmers/caching/caching-groups.xml
diff -u smarty/docs/en/programmers/caching/caching-groups.xml:1.3 smarty/docs/en/programmers/caching/caching-groups.xml:1.4
--- smarty/docs/en/programmers/caching/caching-groups.xml:1.3	Wed Sep  8 11:20:05 2004
+++ smarty/docs/en/programmers/caching/caching-groups.xml	Tue Sep 13 12:14:12 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
    <sect1 id="caching.groups">
     <title>Cache Groups</title>
      <para>
@@ -41,18 +41,18 @@
 
 $smarty->caching = true;
 
-// clear all caches with "sports|basketball" as the first two cache_id groups
-$smarty->clear_cache(null,"sports|basketball");
+// clear all caches with 'sports|basketball' as the first two cache_id groups
+$smarty->clear_cache(null,'sports|basketball');
 
 // clear all caches with "sports" as the first cache_id group. This would
 // include "sports|basketball", or "sports|(anything)|(anything)|(anything)|..."
-$smarty->clear_cache(null,"sports");
+$smarty->clear_cache(null,'sports');
 
 // clear the foo.tpl cache file with "sports|basketball" as the cache_id
-$smarty->clear_cache("foo.tpl","sports|basketball");
+$smarty->clear_cache('foo.tpl','sports|basketball');
 
 
-$smarty->display('index.tpl',"sports|basketball");
+$smarty->display('index.tpl','sports|basketball');
 ?>
 ]]>
       </programlisting>
http://cvs.php.net/diff.php/smarty/docs/en/programmers/caching/caching-setting-up.xml?r1=1.4&r2=1.5&ty=u
Index: smarty/docs/en/programmers/caching/caching-setting-up.xml
diff -u smarty/docs/en/programmers/caching/caching-setting-up.xml:1.4 smarty/docs/en/programmers/caching/caching-setting-up.xml:1.5
--- smarty/docs/en/programmers/caching/caching-setting-up.xml:1.4	Fri May 27 12:25:02 2005
+++ smarty/docs/en/programmers/caching/caching-setting-up.xml	Tue Sep 13 12:14:12 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
   <sect1 id="caching.setting.up">
    <title>Setting Up Caching</title>
    <para>
@@ -45,8 +45,8 @@
     regenerated. It is possible to give individual caches their own expiration
     time by setting
     <link linkend="variable.caching">$caching</link> = 2.
-    See the documentation on <link
-    linkend="variable.cache.lifetime">$cache_lifetime</link> for details.
+    See <link
+    linkend="variable.cache.lifetime">$cache_lifetime</link> for more details.
    </para>
    <example>
     <title>setting $cache_lifetime per cache</title>
@@ -106,7 +106,10 @@
     the cache files will always be regenerated. This effectively turns off
     caching.
     <link linkend="variable.force.compile">$force_compile</link>
-    is usually for debugging purposes only, a more
+    is usually for 
+    <link
+        linkend="chapter.debugging.console">debugging</link> 
+        purposes only, a more
     efficient way of disabling caching is to set <link
     linkend="variable.caching">$caching</link> = false (or 0.)
    </para>
@@ -141,15 +144,19 @@
     You can keep parts of a page dynamic with the <link
     linkend="language.function.insert">{insert}</link> template function. Let's
     say the whole page can be cached except for a banner that is displayed down
-    the right side of the page. By using an insert function for the banner, you
+    the right side of the page. By using an 
+    <link    linkend="language.function.insert">{insert}</link> 
+    function for the banner, you
     can keep this element dynamic within the cached content. See the
     documentation on <link linkend="language.function.insert">{insert}</link> for
-    details and examples.
+    more details and examples.
    </para>
    <para>
     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
+    individual cache files 
+    <link linkend="caching.groups">(or groups)</link>
+    with the <link
     linkend="api.clear.cache">clear_cache()</link> function.
    </para>
    <example>

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.