You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bu...@apache.org on 2014/02/21 03:37:15 UTC

svn commit: r898720 - in /websites/staging/myfaces/trunk/content: ./ wiki/core/user-guide/configuration-of-special-features/cache-el-expressions.html

Author: buildbot
Date: Fri Feb 21 02:37:14 2014
New Revision: 898720

Log:
Staging update by buildbot for myfaces

Modified:
    websites/staging/myfaces/trunk/content/   (props changed)
    websites/staging/myfaces/trunk/content/wiki/core/user-guide/configuration-of-special-features/cache-el-expressions.html

Propchange: websites/staging/myfaces/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Feb 21 02:37:14 2014
@@ -1 +1 @@
-1570420
+1570421

Modified: websites/staging/myfaces/trunk/content/wiki/core/user-guide/configuration-of-special-features/cache-el-expressions.html
==============================================================================
--- websites/staging/myfaces/trunk/content/wiki/core/user-guide/configuration-of-special-features/cache-el-expressions.html (original)
+++ websites/staging/myfaces/trunk/content/wiki/core/user-guide/configuration-of-special-features/cache-el-expressions.html Fri Feb 21 02:37:14 2014
@@ -260,7 +260,7 @@
       <p><a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/wiki/">Wiki</a>&nbsp;&raquo&nbsp;<a href="/wiki/core.html">MyFaces Core</a>&nbsp;&raquo&nbsp;<a href="/wiki/core/user-guide.html">MyFaces Core User Guide</a>&nbsp;&raquo&nbsp;<a href="/wiki/core/user-guide/configuration-of-special-features.html">Configuration of special features</a></p>
       <h2>Cache EL Expressions</h2>
       <div id="content" class="grid_16"><div class="section-content"><p>Since MyFaces Core 2.0.8 / 2.1.2, a new optimization was added to
-prevent create EL Expressions unnecessary. Each time a page is build,
+prevent create EL Expressions unnecessaryly. Each time a page is build,
 facelets compiler create all EL expressions, and then evaluate them, so
 with this special configuration, you can reduce the time and memory
 resources required to build a view. Just add this to your web.xml file:</p>
@@ -274,17 +274,18 @@ resources required to build a view. Just
 <p>There are the following valid modes for this param:</p>
 <ul>
 <li>noCache: All expression are created each time the view is built.</li>
-<li>strict: Like allowCset, but does not allow cache when c:set
-   with var and value properties only is used on the current page context.</li>
-<li>allowCset: Like always, but does not allow cache when ui:param
-   was used on the current template context.</li>
 <li>always: Only does not cache when expressions are inside user
    tags or the expression contains a variable resolved using
    VariableMapper.</li>
+<li>allowCset: Like "always", but does not allow cache when ui:param
+   was used on the current template context.</li>
+<li>strict: Like "allowCset", but does not allow cache when c:set
+   with var and value properties only is used on the current page context.</li>
 <li>alwaysRecompile(recommended, since 2.1.12): When the algorithm
    detects a new user tag attribute or parameter, it recompiles the
    facelet again and mark the expressions that should not be cached,
-   solving the problems detected previously with "always" mode.
+   solving the problem related with ui:param or user tag attributes
+   detected previously with "always" mode.
    Related issue in jira is <a href="https://issues.apache.org/jira/browse/MYFACES-3711">MYFACES-3711</a></li>
 </ul>
 <p>To enable this optimization, you should check first some tips to see