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

svn commit: r1570420 - /myfaces/site/cms-site/trunk/content/wiki/core/user-guide/configuration-of-special-features/cache-el-expressions.mdtext

Author: lu4242
Date: Fri Feb 21 02:33:45 2014
New Revision: 1570420

URL: http://svn.apache.org/r1570420
Log:
test how to fix documentation

Modified:
    myfaces/site/cms-site/trunk/content/wiki/core/user-guide/configuration-of-special-features/cache-el-expressions.mdtext

Modified: myfaces/site/cms-site/trunk/content/wiki/core/user-guide/configuration-of-special-features/cache-el-expressions.mdtext
URL: http://svn.apache.org/viewvc/myfaces/site/cms-site/trunk/content/wiki/core/user-guide/configuration-of-special-features/cache-el-expressions.mdtext?rev=1570420&r1=1570419&r2=1570420&view=diff
==============================================================================
--- myfaces/site/cms-site/trunk/content/wiki/core/user-guide/configuration-of-special-features/cache-el-expressions.mdtext (original)
+++ myfaces/site/cms-site/trunk/content/wiki/core/user-guide/configuration-of-special-features/cache-el-expressions.mdtext Fri Feb 21 02:33:45 2014
@@ -29,17 +29,21 @@ resources required to build a view. Just
         <param-value>always</param-value>
     </context-param>
 
-There are 4 valid modes for this param:
+There are the following valid modes for this param:
 
+ * noCache: All expression are created each time the view is built.
+ * strict: Like allowCset, but does not allow cache when c:set
+   with var and value properties only is used on the current page context.
+ * allowCset: Like always, but does not allow cache when ui:param
+   was used on the current template context.
  * always: Only does not cache when expressions are inside user
    tags or the expression contains a variable resolved using
    VariableMapper.
- * allowCset: Like always, but does not allow cache when ui:param
-   was used on the current template context.
- * strict: Like allowCset, but does not allow cache when c:set
-   with var and value properties only is used on the current page context.
- * noCache: All expression are created each time the view is built.
-
+ * 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 [MYFACES-3711](https://issues.apache.org/jira/browse/MYFACES-3711)
 
 To enable this optimization, you should check first some tips to see
 which option can be enabled in your application.