cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Hartle <mhar...@hartle-klug.com>
Subject Re: Caching design issue
Date Fri, 15 Jun 2001 00:05:00 GMT
Michael Hartle wrote:

> worked perfectly,  changing the colors or the text changes the 
> resulting images. Sadly, the  caching performance is nonexistant, as 
> there is just one cached stream  result per pipeline instead of one 
> cached stream result per URL per  pipeline; I am currently looking for 
> easy ways to resolve this design  issue and I would be happy to hear 
> any ideas. 

I found a solution that seems to work, enabling returning the last 
cached result for that URL matching the pipeline, by changing "pcKey" to 
"pcKey + environment.getURI()" in all method calls on the 
"streamCache"-Object in processReader(Environment) and 
process(Environment) in 
org.apache.cocoon.components.pipeline.CachingStreamPipeline.java. As I 
am not sure that this won't break anything else (the keys in the 
streamCache are not PipelineCacheKey-objects anymore, but Strings), I 
would appreciate any comment or feedback ;)

Best regards,

Michael


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message