forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thorsten Scherler (JIRA)" <>
Subject [jira] Commented: (FOR-931) Activate and enhance cache of the dispatcher
Date Fri, 15 Sep 2006 19:38:25 GMT
    [ ] 
Thorsten Scherler commented on FOR-931:

Activating basic caching. Mind the FIXME notes. 
The problem now is that the match is not cacheable since we are using the jx generator.
See (read the
whole mail, 
answer is on the bottom)."

Workaround to test, is to use a structurer that does not use jx expression and a match aka
<map:match pattern="index.html">
        <map:generate src="cocoon://resolve.structurer.index">
          <map:parameter name="lenient-xpath" value="true" />
          <map:parameter name="getRequest" value="{1}" />
          <map:parameter name="getRequestExtension" value="html" />
        <map:transform type="dispatcher">
          <map:parameter name="cacheKey" value="{0}" />
          <map:parameter name="validityFile" value="cocoon://resolve.structurer.index"
          <map:parameter name="request" value="index" />
          <map:parameter name="type" value="html" />
          <map:parameter name="hooksTransformer" value="lm://hooks-to-html.xsl" 

        <map:serialize type="xhtml" />

> Activate and enhance cache of the dispatcher
> --------------------------------------------
>                 Key: FOR-931
>                 URL:
>             Project: Forrest
>          Issue Type: Sub-task
>          Components: Dispatcher (aka views)
>    Affects Versions: 0.8-dev
>            Reporter: Thorsten Scherler
>         Attachments: cprofile.before.html
> We need to enhance and activate the caching of the dispatcher.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message