<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Dear all<br>
<br>
on a multilingual web site, various jsp elements have the "cache"
property set to "element;locale;". <br>
<br>
Sometimes, but again and again we have the problem, that despite the
"locale" setting, a cache element is re-used out of context, in pages
which have a different locale than the cache variant. Did anybody else
ever see something like that?<br>
<br>
Not using the element cache gets rid of this side effect, but that
makes page generation way too expensive.<br>
<br>
We use opencms 7.0.5 together with static export after publish. Our JSP
templates have several levels of inclusion. Often there is uncached JSP
that includes uncached JSP elements that include <i>cached</i> JSP
elements. Then, sometimes (like once every two months but then
consistently for the whole site), some cache element is used on pages
with different locale. Clearing the element cache and re-publishing
fixes the published content again... until it happens the next time.<br>
<br>
Thanks and regards<br>
Christian<br>
</body>
</html>