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=24884>.
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=24884

When the response is 304 Apache doesn't include cache headers

           Summary: When the response is 304 Apache doesn't include cache
                    headers
           Product: Apache httpd-2.0
           Version: 2.0.48
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: mod_expires
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I made a lot of test with apache 2.0.48 compiled on HP-UX 11.00 and with the
Apache included in MandrakeLinux 9.1.

When I do a GET and obtain a 200 in the reply there are the cache headers, but
when the reply is 304 there is no way have theese headers. So when the browser's
cache expires, the expire-date is not updated more. For each page I obtain a 304
for each element for ever...

Example:

the request:

GET /test.html HTTP/1.1
Accept: */*
Accept-Language: it
Accept-Encoding: gzip, deflate
If-modified-since: Thu, 20 Nov 2003 11:54:42 GMT
If-None-Match: "12a-a0006480"
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0)
Host: 10.254.3.20
Connection: Keep-Alive

the 304 (expire-date is not updated):

HTTP/1.1 304 Not Modified
Date: Fri, 21 Nov 2003 09:40:43 GMT
Server: Apache
Connection: Keep-Alive
Keep-Alive: timeout=10, max=8
ETag: "12a-a0006480"


the 200 (the cache is updated):

HTTP/1.1 200 OK
Date: Fri, 21 Nov 2003 09:40:43 GMT
Server: Apache
Last-Modified: Thu, 20 Nov 2003 11:54:42 GMT
ETag: "12a-a0006480"
Accept-Ranges: bytes
Content-Length: 298
Cache-Control: max-age=86400
Expires: Sat, 22 Nov 2003 09:40:33 GMT
Keep-Alive: timeout=10, max=10
Connection: Keep-Alive
Content-Type: text/html; charset=ISO-8859-1
Data (298 bytes)

I think there is a problem in mod_expires...

Thanks
Fabio

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

Reply via email to