On Thu, 09 Sep 2004 12:26:32 +0200, Jorg Heymans <[EMAIL PROTECTED]> 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 2.1.5.1. with jetty

thanx for any tips,
Gerald


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: http://cocoon.apache.org/2.1/userdocs/concepts/caching.html
Regards,
Kees van Dieren
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to