You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org> on 2012/06/08 14:40:23 UTC
[jira] [Comment Edited] (COCOON3-62) The
org.apache.cocoon.sax.component.XSLTTransformer is not cacheable
[ https://issues.apache.org/jira/browse/COCOON3-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13291739#comment-13291739 ]
Francesco Chicchiriccò edited comment on COCOON3-62 at 6/8/12 12:39 PM:
------------------------------------------------------------------------
Hum, I think you're right.
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?
was (Author: ilgrosso):
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