[opencms-dev] flex cache variants based on cms:include parameters?

Christian Steinert christian_steinert at web.de
Fri Sep 25 14:43:37 CEST 2009


Dear all

With the flex cache, it is possible to create separate cache variants 
for a jsp cache element based for each value of an URL parameter.

Is the behavior also like that for include parameters that are handed 
from a main template to one of its JSP includes when using the 
cms:include tag?

In other words when I do something like
  <cms:include file="foo.jsp">
    <cms:param name="param1" value="bar" />
  </cms:include>
and I set the cache property of foo.jsp to "params(param1)" - will then 
a separate cache variant be created, whenever the include directive is 
called with a different value for "param1"?

Thanks and regards
Christian



More information about the opencms-dev mailing list