cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Epheser <>
Subject ExpiresCachingProcessingPipeline and cache-expires
Date Wed, 13 Dec 2006 15:58:50 GMT

Reinhard and me are using an ExpiresCachingProcessingPipeline in one of our 

According to the documentation here 
it should be possible to declare the expires time in mod_expires style (e.g.. 
"access plus 4 ours").

After debugging a cache problem, we realised that our "access plus 4 hours" was 
overridden by the  <parameter name="cache-expires" value="180"/> default 
configuration in the cocoon-core-sitemap.xconf.

Looking into the code showed that the parameter is only initialised using a cast 
from long:

this.cacheExpires = this.parameters.getParameterAsLong("cache-expires", 

We couldn't find something about the apache-style support here. We are using a 
2.2 development version from about early this year.

Are we missing some point or is the documentation pointing to a feature that 
doesn't exist (any more) ?

best regards,


View raw message