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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to