forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thorsten Scherler (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FOR-931) Activate and enhance cache of the dispatcher
Date Fri, 15 Sep 2006 19:38:25 GMT
    [ http://issues.apache.org/jira/browse/FOR-931?page=comments#action_12435094 ] 
            
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 http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=115194685214066&w=2 (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:generate>
        <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:transform>
        <map:transform 
          src="lm://transform.xml.xml-namespace-stripped" 
          />
        <map:transform 
          src="/home/thorsten/src/apache/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/helper/strip-dispatcher-remains.xsl"

          />
        <map:serialize type="xhtml" />
      </map:match>

> Activate and enhance cache of the dispatcher
> --------------------------------------------
>
>                 Key: FOR-931
>                 URL: http://issues.apache.org/jira/browse/FOR-931
>             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: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message