cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francesco Chicchiriccò (JIRA) <j...@apache.org>
Subject [jira] [Commented] (COCOON3-62) The org.apache.cocoon.sax.component.XSLTTransformer is not cacheable
Date Fri, 08 Jun 2012 12:24:23 GMT

    [ https://issues.apache.org/jira/browse/COCOON3-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13291739#comment-13291739
] 

Francesco Chicchiriccò commented on COCOON3-62:
-----------------------------------------------

Hum, I think you're right: this also applies to COCOON3-63 then.
Anyway, there is an easy fix IMHO: do like StringTemplateGenerator, i.e. move to TimestampCacheKey
to 

        final CompoundCacheKey cacheKey = new CompoundCacheKey();
        cacheKey.addCacheKey(new TimestampCacheKey(this.url, URLUtils.getLastModified(this.url)));
        cacheKey.addCacheKey(new ParameterCacheKey("contextParameters", this.parameters));

WDYT?
                
> The org.apache.cocoon.sax.component.XSLTTransformer is not cacheable
> --------------------------------------------------------------------
>
>                 Key: COCOON3-62
>                 URL: https://issues.apache.org/jira/browse/COCOON3-62
>             Project: Cocoon 3
>          Issue Type: Improvement
>          Components: cocoon-sax
>    Affects Versions: 3.0.0-alpha-3
>            Reporter: Simone Tripodi
>            Assignee: Francesco Chicchiriccò
>             Fix For: 3.0.0-beta-1
>
>
> The org.apache.cocoon.sax.component.XSLTTransformer component is not a cacheable component,
but it is needed to implement it as cacheable

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message