DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12256>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12256

Caching Problem of static Content (specially images)

           Summary: Caching Problem of static Content (specially images)
           Product: Cocoon 2
           Version: 2.0.3
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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 
commited.
This will lead to problems if you are adding a filter to the cocoon servlet 
which
tries to change the ServletResponseOutputStream. 
(It's not possible, because the OutputStream is already commited)


The headers of cocoon output is different

---coocoon-----------

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

GIF89a™



---apache-----------



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

GIF89ašœ‡



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

Can anyone help?

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

Reply via email to