cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Neuenschwander" <>
Subject Caching Problem of static Content (specially images)
Date Tue, 03 Sep 2002 13:22:44 GMT
Hi Cocooners,

It seems that there is still a problem with the caching in cocoon.

First, images cannot be cached by browsers.

Second, all static content in the cache is a repsonse which is already
This will lead to problems if you are adding a filter to the cocoon servlet
tries to change the ServletResponseOutputStream.
(It's not possible, because the OutputStream is already commited)

The headers of cocoon output is different


HTTP/1.1 200 OK

Date: Tue, 03 Sep 2002 13:05:21 GMT

Server: Jetty/4.1.B1 (Linux 2.4.7-10smp i386)

Servlet-Engine: Jetty/4.1.B1 (Servlet 2.3; JSP 1.2; java 1.4.0_01)

X-Cocoon-Version: 2.0.4-dev

Vary: Host

Vary: Host

Vary: Host

Vary: Host

Vary: Host

Content-Type: image/gif

Last-Modified: Mon, 02 Sep 2002 05:51:00 GMT

Content-Length: 18570

Accept-Ranges: none



HTTP/1.1 200 OK

Date: Tue, 03 Sep 2002 13:18:09 GMT

Server: Apache/1.3.22 (Unix) (Red-Hat/Linux) mod_ssl/2.8.5 OpenSSL/0.9.6

Last-Modified: Mon, 02 Sep 2002 05:21:44 GMT

ETag: "528139-4260-3d72f568"

Accept-Ranges: bytes

Content-Length: 16992

Connection: close

Content-Type: image/gif


I'm not sure what exactly prevents the browsers from caching the cocoon

Can anyone help?

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

View raw message