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:37:10 UTC
svn commit: r1570421 -
/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:37:10 2014
New Revision: 1570421
URL: http://svn.apache.org/r1570421
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=1570421&r1=1570420&r2=1570421&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:37:10 2014
@@ -18,7 +18,7 @@ Notice: Licensed to the Apache Softwa
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:
@@ -32,17 +32,18 @@ resources required to build a view. Just
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.
* 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 [MYFACES-3711](https://issues.apache.org/jira/browse/MYFACES-3711)
To enable this optimization, you should check first some tips to see