[opencms-dev] flexcache directives for OpenCms 6 Alpha 2

Kai Schliemann k.schliemann at comundus.com
Thu Dec 2 08:53:39 CET 2004


Hi list,

I hope somebody can help me on the OpenCms cache directives. I want my
navigation elements being cached. Following the "OpenCms Flexcache
Documention" coming with OpenCms 5 I did the following.

This is my template structure:

mastertemplate-------elements---------------cache directive

                     |-----head.jsp---------always
myMastertemplate-----
                     |-----nav.jsp----------uri
                     |-----content.jsp------uri
                     |-----foot.jsp---------always

elements are included into myMastertemplate with "<cms:include
file="../elements/head.jsp"/>"

I switched on the flex cache for the offline project for debugging.
Here comes my problem:

Now I assumed that adding a new navigation entry should show me this on my
webpage, even if it is already cached.
It works in the flexcache examples but not on my page.

What am I doing wrong?

One additional question. I recognized the directive "element" and "locale"
in Version 6. What are they for and are there more not yet documented
directives?

Thanks a lot for your help.

Regards

Kai




More information about the opencms-dev mailing list