Hi list,<br><br>We have a problem with incorrect caching by flex cache in a page not cached by itself but including 2 cached jsps.<br><br>More precisely, we have a jsp page that includes 2 other jsp pages that we want flex cache to store (based on parameters). For the includes we use this code:<br>
<br><cms:include file="jsp_sub-element_to_include"><br> <cms:param name="parameter1"><%= value_for_parameter_1 %></cms:param><br> <cms:param name="parameter2"><%= value_for_parameter_2 %></cms:param><br>
</cms:include><br><br>We have set these pages to include to be cacheable with "params=(parameter1,parameter2);", and have left the including jsp with the default empty "cache" property. It seems somehow flex cache is actually not asking for each included page if there already were stored a version for those two parameters, but instead it caches the including jsp even though we haven't told OpenCms to do so. That causes the problem that if the request parameters of the including jsp are the same twice, the second we get the cached page (even when parameters 1 and 2 are different and should therefore request a different page).<br>
<br>We would really appreciate some pointers in what we are doing wrong. Thank you in advance. Greetings,<br><br>Nacho Fernandez.<br>