cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Aichholzer" <>
Subject Re: Should static files be cached serverside?
Date Thu, 09 Sep 2004 14:02:23 GMT
On Thu, 09 Sep 2004 12:26:32 +0200, Jorg Heymans <> wrote:

> or you could just let apache serve your static html.

are there any samples doing this? the wiki docs still say "todo".

I'm using cocoon under windows (it's for a prototype only) and
have tried to serve static files (mostly images) with TinyWeb
(which is a very small web server for windows). My application
slowed down by a factor of 3-4.

If apache shows the same behaviour then I don't see any advantages.

BTW: cocoon with jetty

thanx for any tips,

> Kees van Dieren wrote:
>> Hello,
>>  I'm researching caching and performance in Cocoon. Should static files  
>> (html, css, js, gif/jpeg/png) be excluded from a pipeline with  the  
>> type set to 'caching'?
>>  I think that they should not be cached serverside, because the  
>> filename is used to generate they key; the caching-key is longer to  
>> read  then the filename itself. Conclusion: enabling pipeline-caching  
>> for  static files, decreases the performance. Is this true, or is  
>> cocoon able to detect that files are static, and thus there is no  
>> requirement to cache them?
>>  Resource for caching:  
>>  Regards,
>>  Kees van Dieren
Using M2, Opera's revolutionary e-mail client:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message