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:33:50 UTC
svn commit: r898719 - 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:33:49 2014
New Revision: 898719
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:33:49 2014
@@ -1 +1 @@
-1570418
+1570420
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:33:49 2014
@@ -271,16 +271,21 @@ resources required to build a view. Just
</pre></div>
-<p>There are 4 valid modes for this param:</p>
+<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>noCache: All expression are created each time the view is built.</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.
+ 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
which option can be enabled in your application.</p>